#3E2399#3E2399
#3E2399 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.178 H 284.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2399 |
|---|---|
| RGB | rgb(62, 35, 153) |
| HSL | hsl(254, 63%, 37%) |
| HSV | hsv(254, 77%, 60%) |
| CMYK | cmyk(59.5%, 77.1%, 0%, 40%) |
| CIE-LAB | lab(25.34, 43.96, -59.68) |
| CIE-LCH | lch(25.34, 74.13, 306.38°) |
| OKLab | oklab(37.6% 0.0442 -0.172) |
| OKLCH | oklch(37.6% 0.178 284.4) |
| XYZ | xyz(8.3356, 4.5256, 30.5651) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.68
Royal
#0C1793
ΔE00 5.14
Cobalt Blue
#030AA7
ΔE00 5.80
Ultramarine
#2000B1
ΔE00 5.80
Indigo (survey)
#380282
ΔE00 6.10
Royal Blue (survey)
#0504AA
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2399 #7E9923
analogous
#234399 #3E2399 #792399
triadic
#3E2399 #993E23 #23993E
tetradic
#3E2399 #992343 #7E9923 #239979
square
#3E2399 #992343 #7E9923 #239979
split-complementary
#3E2399 #997923 #439923
monochromatic
#160C35 #2A1867 #3E2399 #522ECB #795DDA
Accessibility & contrast
On white
11.02
#3E2399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3E2399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2399
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2399 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#07455D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3e2399; /* rgb */ color: rgb(62, 35, 153); /* oklch */ color: oklch(37.6% 0.178 284.4);
Tailwind
colors: {
custom: {
50: '#7f61b8',
500: '#3e2399',
950: '#000000',
},
}SCSS
$custom: #3e2399; $custom-light: #7f61b8; $custom-dark: #000000;
JSON
{
"hex": "#3e2399",
"rgb": {
"r": 62,
"g": 35,
"b": 153
},
"hsl": {
"h": 253.729,
"s": 62.766,
"l": 36.863
},
"oklch": {
"l": 0.37595,
"c": 0.17755,
"h": 284.4
},
"luminance": 0.04526
}Semantic roles & 50–950 ramp
primary
#3E2399
secondary
#A7BE59
accent
#E642C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980