#3F1E9A#3F1E9A
#3F1E9A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.183 H 285.4°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1E9A |
|---|---|
| RGB | rgb(63, 30, 154) |
| HSL | hsl(256, 67%, 36%) |
| HSV | hsv(256, 81%, 60%) |
| CMYK | cmyk(59.1%, 80.5%, 0%, 39.6%) |
| CIE-LAB | lab(24.70, 46.82, -61.35) |
| CIE-LCH | lch(24.70, 77.17, 307.35°) |
| OKLab | oklab(37.2% 0.0489 -0.1767) |
| OKLCH | oklch(37.2% 0.183 285.4) |
| XYZ | xyz(8.3451, 4.3179, 30.9593) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.23
Royal
#0C1793
ΔE00 4.99
Ultramarine
#2000B1
ΔE00 5.11
Cobalt Blue
#030AA7
ΔE00 5.28
Indigo (survey)
#380282
ΔE00 5.39
Royal Blue (survey)
#0504AA
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1E9A #799A1E
analogous
#1E3B9A #3F1E9A #7D1E9A
triadic
#3F1E9A #9A3F1E #1E9A3F
tetradic
#3F1E9A #9A1E3B #799A1E #1E9A7D
square
#3F1E9A #9A1E3B #799A1E #1E9A7D
split-complementary
#3F1E9A #9A7D1E #3B9A1E
monochromatic
#150A34 #2A1467 #3F1E9A #5428CD #7955DE
Accessibility & contrast
On white
11.27
#3F1E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3F1E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1E9A
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1E9A | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#0C435C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f1e9a; /* rgb */ color: rgb(63, 30, 154); /* oklch */ color: oklch(37.2% 0.183 285.4);
Tailwind
colors: {
custom: {
50: '#805fb9',
500: '#3f1e9a',
950: '#000000',
},
}SCSS
$custom: #3f1e9a; $custom-light: #805fb9; $custom-dark: #000000;
JSON
{
"hex": "#3f1e9a",
"rgb": {
"r": 63,
"g": 30,
"b": 154
},
"hsl": {
"h": 255.968,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.37202,
"c": 0.18338,
"h": 285.4
},
"luminance": 0.04318
}Semantic roles & 50–950 ramp
primary
#3F1E9A
secondary
#A4C153
accent
#EA3EBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981