#3E1683#3E1683
#3E1683 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.164 H 291.6°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1683 |
|---|---|
| RGB | rgb(62, 22, 131) |
| HSL | hsl(262, 71%, 30%) |
| HSV | hsv(262, 83%, 51%) |
| CMYK | cmyk(52.7%, 83.2%, 0%, 48.6%) |
| CIE-LAB | lab(20.97, 43.75, -53.19) |
| CIE-LCH | lch(20.97, 68.87, 309.44°) |
| OKLab | oklab(33.87% 0.0604 -0.1529) |
| OKLCH | oklch(33.87% 0.164 291.6) |
| XYZ | xyz(6.3691, 3.2364, 21.7574) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.73
Indigo
#4B0082
ΔE00 3.35
Royal Purple (survey)
#4B006E
ΔE00 5.56
Royal
#0C1793
ΔE00 5.64
Midnight Blue
#191970
ΔE00 6.07
Darkblue
#00008B
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1683 #5B8316
analogous
#162583 #3E1683 #741683
triadic
#3E1683 #833E16 #16833E
tetradic
#3E1683 #831625 #5B8316 #168374
square
#3E1683 #831625 #5B8316 #168374
split-complementary
#3E1683 #837416 #258316
monochromatic
#0C041A #250D4F #3E1683 #571FB7 #7336DD
Accessibility & contrast
On white
12.75
#3E1683 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#3E1683 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1683
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1683 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1683 | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#26364D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3e1683; /* rgb */ color: rgb(62, 22, 131); /* oklch */ color: oklch(33.9% 0.164 291.6);
Tailwind
colors: {
custom: {
50: '#7c59a8',
500: '#3e1683',
950: '#000000',
},
}SCSS
$custom: #3e1683; $custom-light: #7c59a8; $custom-dark: #000000;
JSON
{
"hex": "#3e1683",
"rgb": {
"r": 62,
"g": 22,
"b": 131
},
"hsl": {
"h": 262.018,
"s": 71.242,
"l": 30
},
"oklch": {
"l": 0.33874,
"c": 0.16435,
"h": 291.6
},
"luminance": 0.03237
}Semantic roles & 50–950 ramp
primary
#3E1683
secondary
#8BB73D
accent
#EE3AAC
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F