Very dark indigo
#340171
#340171 colour
#340171 is a dark, clear purple. The closest everyday name is Midnight Blue (#191970).
- HEX
#340171 - RGB
rgb(52 1 113) - HSL
hsl(267.3 98.2% 22.4%) - HSV / HSB
hsv(267.3 99.1% 44.3%) - HWB
hwb(267.3 0.4% 55.7%) - OKLCH
oklch(29.05% 0.16 293.11) - CIELAB
lab(14.33% 40.5 -52.43) - CMYK
cmyk(54% 99% 0% 56%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
15.12:1 · AA
Black text
1.38:1 · Fails
On white
15.12:1 · AAA
On black
1.38:1 · Fails
Colour harmonies
Complementary
Harmonies are calculated on the perceptual OKLCH hue wheel. Explore them on the colour wheel.
Shades and tints
Build a 50–950 scale from #340171 · Turn it into a brand palette