#3E1E9F#3E1E9F
#3E1E9F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.189 H 284.0°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1E9F |
|---|---|
| RGB | rgb(62, 30, 159) |
| HSL | hsl(255, 68%, 37%) |
| HSV | hsv(255, 81%, 62%) |
| CMYK | cmyk(61%, 81.1%, 0%, 37.6%) |
| CIE-LAB | lab(25.12, 48.14, -63.71) |
| CIE-LCH | lch(25.12, 79.85, 307.08°) |
| OKLab | oklab(37.63% 0.0457 -0.1836) |
| OKLCH | oklch(37.63% 0.189 284) |
| XYZ | xyz(8.7070, 4.4553, 33.1953) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.53
Ultramarine
#2000B1
ΔE00 4.68
Cobalt Blue
#030AA7
ΔE00 4.99
Royal
#0C1793
ΔE00 5.02
Royal Blue (survey)
#0504AA
ΔE00 5.21
Indigo (survey)
#380282
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1E9F #7F9F1E
analogous
#1E3E9F #3E1E9F #7F1E9F
triadic
#3E1E9F #9F3E1E #1E9F3E
tetradic
#3E1E9F #9F1E3E #7F9F1E #1E9F7F
square
#3E1E9F #9F1E3E #7F9F1E #1E9F7F
split-complementary
#3E1E9F #9F7F1E #3E9F1E
monochromatic
#160B38 #2A146C #3E1E9F #5228D2 #7A58DF
Accessibility & contrast
On white
11.10
#3E1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3E1E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1E9F
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1E9F | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3e1e9f; /* rgb */ color: rgb(62, 30, 159); /* oklch */ color: oklch(37.6% 0.189 284.0);
Tailwind
colors: {
custom: {
50: '#805fbd',
500: '#3e1e9f',
950: '#000000',
},
}SCSS
$custom: #3e1e9f; $custom-light: #805fbd; $custom-dark: #000000;
JSON
{
"hex": "#3e1e9f",
"rgb": {
"r": 62,
"g": 30,
"b": 159
},
"hsl": {
"h": 254.884,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.37632,
"c": 0.18924,
"h": 284
},
"luminance": 0.04456
}Semantic roles & 50–950 ramp
primary
#3E1E9F
secondary
#A8C356
accent
#EB3DC0
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981