#3E2390#3E2390
#3E2390 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.167 H 286.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2390 |
|---|---|
| RGB | rgb(62, 35, 144) |
| HSL | hsl(255, 61%, 35%) |
| HSV | hsv(255, 76%, 56%) |
| CMYK | cmyk(56.9%, 75.7%, 0%, 43.5%) |
| CIE-LAB | lab(24.45, 41.26, -55.60) |
| CIE-LCH | lch(24.45, 69.23, 306.58°) |
| OKLab | oklab(36.7% 0.0466 -0.16) |
| OKLCH | oklch(36.7% 0.167 286.2) |
| XYZ | xyz(7.6202, 4.2394, 26.7969) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.94
Royal
#0C1793
ΔE00 5.21
Indigo (survey)
#380282
ΔE00 5.54
Indigo
#4B0082
ΔE00 6.03
Cobalt Blue
#030AA7
ΔE00 6.43
Ultramarine
#2000B1
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2390 #759023
analogous
#233F90 #3E2390 #742390
triadic
#3E2390 #903E23 #23903E
tetradic
#3E2390 #90233F #759023 #239074
square
#3E2390 #90233F #759023 #239074
split-complementary
#3E2390 #907423 #3F9023
monochromatic
#140B2E #29175F #3E2390 #532FC1 #7757D6
Accessibility & contrast
On white
11.36
#3E2390 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3E2390 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2390
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2390 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2390 | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#184158
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e2390; /* rgb */ color: rgb(62, 35, 144); /* oklch */ color: oklch(36.7% 0.167 286.2);
Tailwind
colors: {
custom: {
50: '#7d61b2',
500: '#3e2390',
950: '#000000',
},
}SCSS
$custom: #3e2390; $custom-light: #7d61b2; $custom-dark: #000000;
JSON
{
"hex": "#3e2390",
"rgb": {
"r": 62,
"g": 35,
"b": 144
},
"hsl": {
"h": 254.862,
"s": 60.894,
"l": 35.098
},
"oklch": {
"l": 0.367,
"c": 0.16666,
"h": 286.2
},
"luminance": 0.0424
}Semantic roles & 50–950 ramp
primary
#3E2390
secondary
#A1BA54
accent
#E444BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980