#341E8A#341E8A
#341E8A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.166 H 282.7°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).
Color values
| HEX | #341E8A |
|---|---|
| RGB | rgb(52, 30, 138) |
| HSL | hsl(252, 64%, 33%) |
| HSV | hsv(252, 78%, 54%) |
| CMYK | cmyk(62.3%, 78.3%, 0%, 45.9%) |
| CIE-LAB | lab(21.92, 40.67, -56.06) |
| CIE-LCH | lch(21.92, 69.26, 305.96°) |
| OKLab | oklab(34.5% 0.0365 -0.1616) |
| OKLCH | oklch(34.5% 0.166 282.7) |
| XYZ | xyz(6.4665, 3.4931, 24.3733) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.82
Indigo (survey)
#380282
ΔE00 4.48
Midnight Blue
#191970
ΔE00 5.19
Indigo Blue
#3A18B1
ΔE00 5.58
Cobalt Blue
#030AA7
ΔE00 5.63
Indigo
#4B0082
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341E8A #748A1E
analogous
#1E3E8A #341E8A #6A1E8A
triadic
#341E8A #8A341E #1E8A34
tetradic
#341E8A #8A1E3E #748A1E #1E8A6A
square
#341E8A #8A1E3E #748A1E #1E8A6A
split-complementary
#341E8A #8A6A1E #3E8A1E
monochromatic
#0E0825 #211358 #341E8A #4729BC #674BD8
Accessibility & contrast
On white
12.36
#341E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#341E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341E8A
12.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341E8A | 1.00 | 12.36 | 1.70 | 12.36 |
| #FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #341e8a; /* rgb */ color: rgb(52, 30, 138); /* oklch */ color: oklch(34.5% 0.166 282.7);
Tailwind
colors: {
custom: {
50: '#775dad',
500: '#341e8a',
950: '#000000',
},
}SCSS
$custom: #341e8a; $custom-light: #775dad; $custom-dark: #000000;
JSON
{
"hex": "#341e8a",
"rgb": {
"r": 52,
"g": 30,
"b": 138
},
"hsl": {
"h": 252.222,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.34498,
"c": 0.16571,
"h": 282.7
},
"luminance": 0.03494
}Semantic roles & 50–950 ramp
primary
#341E8A
secondary
#A3BA4A
accent
#E741C5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F