#3E1767#3E1767
#3E1767 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.131 H 301.2°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1767 |
|---|---|
| RGB | rgb(62, 23, 103) |
| HSL | hsl(269, 63%, 25%) |
| HSV | hsv(269, 78%, 40%) |
| CMYK | cmyk(39.8%, 77.7%, 0%, 59.6%) |
| CIE-LAB | lab(18.44, 35.62, -39.32) |
| CIE-LCH | lch(18.44, 53.06, 312.17°) |
| OKLab | oklab(31.28% 0.0681 -0.1122) |
| OKLCH | oklch(31.28% 0.131 301.2) |
| XYZ | xyz(4.7406, 2.6162, 13.0846) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.14
Indigo
#4B0082
ΔE00 5.67
Dark Indigo
#1F0954
ΔE00 6.01
Indigo (survey)
#380282
ΔE00 6.08
Midnight Blue
#191970
ΔE00 6.86
Plum Purple
#4E0550
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1767 #406717
analogous
#171867 #3E1767 #661767
triadic
#3E1767 #673E17 #17673E
tetradic
#3E1767 #671718 #406717 #176766
square
#3E1767 #671718 #406717 #176766
split-complementary
#3E1767 #676617 #186717
monochromatic
#0F0619 #200C35 #3E1767 #5C2299 #7A2DCB
Accessibility & contrast
On white
13.79
#3E1767 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#3E1767 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1767
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1767 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1767 | 1.00 | 13.79 | 1.52 | 13.79 |
| #FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#352B3D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3e1767; /* rgb */ color: rgb(62, 23, 103); /* oklch */ color: oklch(31.3% 0.131 301.2);
Tailwind
colors: {
custom: {
50: '#785893',
500: '#3e1767',
950: '#000000',
},
}SCSS
$custom: #3e1767; $custom-light: #785893; $custom-dark: #000000;
JSON
{
"hex": "#3e1767",
"rgb": {
"r": 62,
"g": 23,
"b": 103
},
"hsl": {
"h": 269.25,
"s": 63.492,
"l": 24.706
},
"oklch": {
"l": 0.31282,
"c": 0.13122,
"h": 301.2
},
"luminance": 0.02616
}Semantic roles & 50–950 ramp
primary
#3E1767
secondary
#6E9D3D
accent
#E74196
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E