#3E1B9F#3E1B9F
#3E1B9F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.192 H 284.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1B9F |
|---|---|
| RGB | rgb(62, 27, 159) |
| HSL | hsl(256, 71%, 36%) |
| HSV | hsv(256, 83%, 62%) |
| CMYK | cmyk(61%, 83%, 0%, 37.6%) |
| CIE-LAB | lab(24.67, 49.46, -64.45) |
| CIE-LCH | lch(24.67, 81.24, 307.50°) |
| OKLab | oklab(37.32% 0.0474 -0.1858) |
| OKLCH | oklch(37.32% 0.192 284.3) |
| XYZ | xyz(8.6346, 4.3106, 33.1712) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.44
Ultramarine
#2000B1
ΔE00 4.34
Cobalt Blue
#030AA7
ΔE00 4.72
Royal Blue (survey)
#0504AA
ΔE00 4.90
Royal
#0C1793
ΔE00 4.93
Indigo (survey)
#380282
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1B9F #7C9F1B
analogous
#1B3A9F #3E1B9F #801B9F
triadic
#3E1B9F #9F3E1B #1B9F3E
tetradic
#3E1B9F #9F1B3A #7C9F1B #1B9F80
square
#3E1B9F #9F1B3A #7C9F1B #1B9F80
split-complementary
#3E1B9F #9F801B #3A9F1B
monochromatic
#150936 #2A126B #3E1B9F #5224D3 #7953E2
Accessibility & contrast
On white
11.28
#3E1B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3E1B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1B9F
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1B9F | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e1b9f; /* rgb */ color: rgb(62, 27, 159); /* oklch */ color: oklch(37.3% 0.192 284.3);
Tailwind
colors: {
custom: {
50: '#805ebd',
500: '#3e1b9f',
950: '#000000',
},
}SCSS
$custom: #3e1b9f; $custom-light: #805ebd; $custom-dark: #000000;
JSON
{
"hex": "#3e1b9f",
"rgb": {
"r": 62,
"g": 27,
"b": 159
},
"hsl": {
"h": 255.909,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.37321,
"c": 0.19172,
"h": 284.3
},
"luminance": 0.04311
}Semantic roles & 50–950 ramp
primary
#3E1B9F
secondary
#A6C551
accent
#EE3ABE
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981