#3E2592#3E2592
#3E2592 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.167 H 285.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2592 |
|---|---|
| RGB | rgb(62, 37, 146) |
| HSL | hsl(254, 60%, 36%) |
| HSV | hsv(254, 75%, 57%) |
| CMYK | cmyk(57.5%, 74.7%, 0%, 42.7%) |
| CIE-LAB | lab(25.02, 40.79, -55.89) |
| CIE-LCH | lch(25.02, 69.20, 306.12°) |
| OKLab | oklab(37.16% 0.0445 -0.1609) |
| OKLCH | oklch(37.16% 0.167 285.5) |
| XYZ | xyz(7.8349, 4.4221, 27.6293) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.83
Royal
#0C1793
ΔE00 5.35
Indigo (survey)
#380282
ΔE00 6.05
Indigo
#4B0082
ΔE00 6.52
Cobalt Blue
#030AA7
ΔE00 6.54
Ultramarine
#2000B1
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2592 #799225
analogous
#254392 #3E2592 #742592
triadic
#3E2592 #923E25 #25923E
tetradic
#3E2592 #922543 #799225 #259274
square
#3E2592 #922543 #799225 #259274
split-complementary
#3E2592 #927425 #439225
monochromatic
#150C30 #291961 #3E2592 #5331C3 #785CD6
Accessibility & contrast
On white
11.14
#3E2592 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3E2592 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2592
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2592 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2592 | 1.00 | 11.14 | 1.88 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#154359
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2592; /* rgb */ color: rgb(62, 37, 146); /* oklch */ color: oklch(37.2% 0.167 285.5);
Tailwind
colors: {
custom: {
50: '#7d62b3',
500: '#3e2592',
950: '#000000',
},
}SCSS
$custom: #3e2592; $custom-light: #7d62b3; $custom-dark: #000000;
JSON
{
"hex": "#3e2592",
"rgb": {
"r": 62,
"g": 37,
"b": 146
},
"hsl": {
"h": 253.761,
"s": 59.563,
"l": 35.882
},
"oklch": {
"l": 0.37163,
"c": 0.16693,
"h": 285.5
},
"luminance": 0.04423
}Semantic roles & 50–950 ramp
primary
#3E2592
secondary
#A4BA58
accent
#E345BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980