#3F1C8E#3F1C8E
#3F1C8E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.171 H 288.4°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1C8E |
|---|---|
| RGB | rgb(63, 28, 142) |
| HSL | hsl(258, 67%, 33%) |
| HSV | hsv(258, 80%, 56%) |
| CMYK | cmyk(55.6%, 80.3%, 0%, 44.3%) |
| CIE-LAB | lab(23.13, 44.30, -56.51) |
| CIE-LCH | lch(23.13, 71.80, 308.09°) |
| OKLab | oklab(35.74% 0.0541 -0.1626) |
| OKLCH | oklch(35.74% 0.171 288.4) |
| XYZ | xyz(7.3462, 3.8399, 25.9400) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.12
Indigo
#4B0082
ΔE00 4.63
Indigo Blue
#3A18B1
ΔE00 4.94
Royal
#0C1793
ΔE00 5.05
Cobalt Blue
#030AA7
ΔE00 6.00
Ultramarine
#2000B1
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1C8E #6B8E1C
analogous
#1C328E #3F1C8E #781C8E
triadic
#3F1C8E #8E3F1C #1C8E3F
tetradic
#3F1C8E #8E1C32 #6B8E1C #1C8E78
square
#3F1C8E #8E1C32 #6B8E1C #1C8E78
split-complementary
#3F1C8E #8E781C #328E1C
monochromatic
#120828 #28125B #3F1C8E #5626C1 #7649DB
Accessibility & contrast
On white
11.88
#3F1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#3F1C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1C8E
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1C8E | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#1E3D55
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3f1c8e; /* rgb */ color: rgb(63, 28, 142); /* oklch */ color: oklch(35.7% 0.171 288.4);
Tailwind
colors: {
custom: {
50: '#7e5db0',
500: '#3f1c8e',
950: '#000000',
},
}SCSS
$custom: #3f1c8e; $custom-light: #7e5db0; $custom-dark: #000000;
JSON
{
"hex": "#3f1c8e",
"rgb": {
"r": 63,
"g": 28,
"b": 142
},
"hsl": {
"h": 258.421,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.35745,
"c": 0.17134,
"h": 288.4
},
"luminance": 0.0384
}Semantic roles & 50–950 ramp
primary
#3F1C8E
secondary
#99BD49
accent
#EA3EB5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980