#341E89#341E89
#341E89 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.164 H 282.9°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #341E89 |
|---|---|
| RGB | rgb(52, 30, 137) |
| HSL | hsl(252, 64%, 33%) |
| HSV | hsv(252, 78%, 54%) |
| CMYK | cmyk(62%, 78.1%, 0%, 46.3%) |
| CIE-LAB | lab(21.81, 40.36, -55.60) |
| CIE-LCH | lch(21.81, 68.71, 305.97°) |
| OKLab | oklab(34.39% 0.0368 -0.1603) |
| OKLCH | oklch(34.39% 0.164 282.9) |
| XYZ | xyz(6.3944, 3.4643, 23.9938) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.89
Indigo (survey)
#380282
ΔE00 4.45
Midnight Blue
#191970
ΔE00 5.08
Indigo Blue
#3A18B1
ΔE00 5.73
Cobalt Blue
#030AA7
ΔE00 5.74
Indigo
#4B0082
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341E89 #73891E
analogous
#1E3E89 #341E89 #691E89
triadic
#341E89 #89341E #1E8934
tetradic
#341E89 #891E3E #73891E #1E8969
square
#341E89 #891E3E #73891E #1E8969
split-complementary
#341E89 #89691E #3E891E
monochromatic
#0E0825 #211357 #341E89 #4729BB #674AD7
Accessibility & contrast
On white
12.40
#341E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#341E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341E89
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341E89 | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #341e89; /* rgb */ color: rgb(52, 30, 137); /* oklch */ color: oklch(34.4% 0.164 282.9);
Tailwind
colors: {
custom: {
50: '#775dad',
500: '#341e89',
950: '#000000',
},
}SCSS
$custom: #341e89; $custom-light: #775dad; $custom-dark: #000000;
JSON
{
"hex": "#341e89",
"rgb": {
"r": 52,
"g": 30,
"b": 137
},
"hsl": {
"h": 252.336,
"s": 64.072,
"l": 32.745
},
"oklch": {
"l": 0.34393,
"c": 0.16449,
"h": 282.9
},
"luminance": 0.03465
}Semantic roles & 50–950 ramp
primary
#341E89
secondary
#A3BA49
accent
#E741C5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F