#341C86#341C86
#341C86 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.163 H 283.9°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #341C86 |
|---|---|
| RGB | rgb(52, 28, 134) |
| HSL | hsl(254, 65%, 32%) |
| HSV | hsv(254, 79%, 53%) |
| CMYK | cmyk(61.2%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(21.14, 40.47, -54.84) |
| CIE-LCH | lch(21.14, 68.16, 306.43°) |
| OKLab | oklab(33.82% 0.039 -0.1581) |
| OKLCH | oklch(33.82% 0.163 283.9) |
| XYZ | xyz(6.1332, 3.2814, 22.8598) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.96
Royal
#0C1793
ΔE00 4.02
Midnight Blue
#191970
ΔE00 4.80
Indigo
#4B0082
ΔE00 5.45
Darkblue
#00008B
ΔE00 5.79
Cobalt Blue
#030AA7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C86 #6E861C
analogous
#1C3986 #341C86 #691C86
triadic
#341C86 #86341C #1C8634
tetradic
#341C86 #861C39 #6E861C #1C8669
square
#341C86 #861C39 #6E861C #1C8669
split-complementary
#341C86 #86691C #39861C
monochromatic
#0D0721 #201153 #341C86 #4827B9 #6644D8
Accessibility & contrast
On white
12.68
#341C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#341C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C86
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C86 | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #341c86; /* rgb */ color: rgb(52, 28, 134); /* oklch */ color: oklch(33.8% 0.163 283.9);
Tailwind
colors: {
custom: {
50: '#765caa',
500: '#341c86',
950: '#000000',
},
}SCSS
$custom: #341c86; $custom-light: #765caa; $custom-dark: #000000;
JSON
{
"hex": "#341c86",
"rgb": {
"r": 52,
"g": 28,
"b": 134
},
"hsl": {
"h": 253.585,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.33824,
"c": 0.16281,
"h": 283.9
},
"luminance": 0.03282
}Semantic roles & 50–950 ramp
primary
#341C86
secondary
#9FB945
accent
#E83FC2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F