#341785#341785
#341785 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.166 H 284.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #341785 |
|---|---|
| RGB | rgb(52, 23, 133) |
| HSL | hsl(256, 71%, 31%) |
| HSV | hsv(256, 83%, 52%) |
| CMYK | cmyk(60.9%, 82.7%, 0%, 47.8%) |
| CIE-LAB | lab(20.19, 42.61, -55.78) |
| CIE-LCH | lch(20.19, 70.19, 307.38°) |
| OKLab | oklab(33.13% 0.0426 -0.1607) |
| OKLCH | oklch(33.13% 0.166 284.9) |
| XYZ | xyz(5.9549, 3.0359, 22.4580) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.96
Royal
#0C1793
ΔE00 4.06
Indigo
#4B0082
ΔE00 4.75
Midnight Blue
#191970
ΔE00 4.91
Darkblue
#00008B
ΔE00 5.15
Navy
#000080
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341785 #688517
analogous
#173185 #341785 #6B1785
triadic
#341785 #853417 #178534
tetradic
#341785 #851731 #688517 #17856B
square
#341785 #851731 #688517 #17856B
split-complementary
#341785 #856B17 #318517
monochromatic
#0B051D #200E51 #341785 #4820B9 #653ADD
Accessibility & contrast
On white
13.07
#341785 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#341785 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341785
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341785 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341785 | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#02384F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #341785; /* rgb */ color: rgb(52, 23, 133); /* oklch */ color: oklch(33.1% 0.166 284.9);
Tailwind
colors: {
custom: {
50: '#7759aa',
500: '#341785',
950: '#000000',
},
}SCSS
$custom: #341785; $custom-light: #7759aa; $custom-dark: #000000;
JSON
{
"hex": "#341785",
"rgb": {
"r": 52,
"g": 23,
"b": 133
},
"hsl": {
"h": 255.818,
"s": 70.513,
"l": 30.588
},
"oklch": {
"l": 0.33131,
"c": 0.1663,
"h": 284.9
},
"luminance": 0.03036
}Semantic roles & 50–950 ramp
primary
#341785
secondary
#99B93F
accent
#ED3BBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F