#3E258F#3E258F
#3E258F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.163 H 286.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3E258F |
|---|---|
| RGB | rgb(62, 37, 143) |
| HSL | hsl(254, 59%, 35%) |
| HSV | hsv(254, 74%, 56%) |
| CMYK | cmyk(56.6%, 74.1%, 0%, 43.9%) |
| CIE-LAB | lab(24.73, 39.88, -54.51) |
| CIE-LCH | lch(24.73, 67.54, 306.19°) |
| OKLab | oklab(36.87% 0.0452 -0.1568) |
| OKLCH | oklch(36.87% 0.163 286.1) |
| XYZ | xyz(7.6046, 4.3300, 26.4163) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.26
Royal
#0C1793
ΔE00 5.44
Indigo (survey)
#380282
ΔE00 5.93
Indigo
#4B0082
ΔE00 6.38
Cobalt Blue
#030AA7
ΔE00 6.79
Midnight Blue
#191970
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E258F #768F25
analogous
#25418F #3E258F #73258F
triadic
#3E258F #8F3E25 #258F3E
tetradic
#3E258F #8F2541 #768F25 #258F73
square
#3E258F #8F2541 #768F25 #258F73
split-complementary
#3E258F #8F7325 #418F25
monochromatic
#140C2E #29185E #3E258F #5332C0 #775AD4
Accessibility & contrast
On white
11.25
#3E258F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3E258F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E258F
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E258F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E258F | 1.00 | 11.25 | 1.87 | 11.25 |
| #FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#194258
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e258f; /* rgb */ color: rgb(62, 37, 143); /* oklch */ color: oklch(36.9% 0.163 286.1);
Tailwind
colors: {
custom: {
50: '#7d62b1',
500: '#3e258f',
950: '#000000',
},
}SCSS
$custom: #3e258f; $custom-light: #7d62b1; $custom-dark: #000000;
JSON
{
"hex": "#3e258f",
"rgb": {
"r": 62,
"g": 37,
"b": 143
},
"hsl": {
"h": 254.151,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.36873,
"c": 0.16321,
"h": 286.1
},
"luminance": 0.0433
}Semantic roles & 50–950 ramp
primary
#3E258F
secondary
#A2B957
accent
#E246BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980