#341885#341885
#341885 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.165 H 284.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #341885 |
|---|---|
| RGB | rgb(52, 24, 133) |
| HSL | hsl(255, 69%, 31%) |
| HSV | hsv(255, 82%, 52%) |
| CMYK | cmyk(60.9%, 82%, 0%, 47.8%) |
| CIE-LAB | lab(20.35, 42.14, -55.51) |
| CIE-LCH | lch(20.35, 69.70, 307.20°) |
| OKLab | oklab(33.24% 0.042 -0.16) |
| OKLCH | oklch(33.24% 0.165 284.7) |
| XYZ | xyz(5.9752, 3.0764, 22.4647) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.15
Royal
#0C1793
ΔE00 4.05
Midnight Blue
#191970
ΔE00 4.86
Indigo
#4B0082
ΔE00 4.87
Darkblue
#00008B
ΔE00 5.27
Navy
#000080
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341885 #698518
analogous
#183285 #341885 #6A1885
triadic
#341885 #853418 #188534
tetradic
#341885 #851832 #698518 #18856A
square
#341885 #851832 #698518 #18856A
split-complementary
#341885 #856A18 #328518
monochromatic
#0B051D #200F51 #341885 #4821B9 #653CDC
Accessibility & contrast
On white
13.00
#341885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#341885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341885
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341885 | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#02394F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #341885; /* rgb */ color: rgb(52, 24, 133); /* oklch */ color: oklch(33.2% 0.165 284.7);
Tailwind
colors: {
custom: {
50: '#7759aa',
500: '#341885',
950: '#000000',
},
}SCSS
$custom: #341885; $custom-light: #7759aa; $custom-dark: #000000;
JSON
{
"hex": "#341885",
"rgb": {
"r": 52,
"g": 24,
"b": 133
},
"hsl": {
"h": 255.413,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.33242,
"c": 0.1654,
"h": 284.7
},
"luminance": 0.03077
}Semantic roles & 50–950 ramp
primary
#341885
secondary
#9AB940
accent
#EC3CBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F