#3F1C8D#3F1C8D
#3F1C8D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.170 H 288.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1C8D |
|---|---|
| RGB | rgb(63, 28, 141) |
| HSL | hsl(259, 67%, 33%) |
| HSV | hsv(259, 80%, 55%) |
| CMYK | cmyk(55.3%, 80.1%, 0%, 44.7%) |
| CIE-LAB | lab(23.03, 44.01, -56.06) |
| CIE-LCH | lch(23.03, 71.27, 308.14°) |
| OKLab | oklab(35.64% 0.0544 -0.1613) |
| OKLCH | oklch(35.64% 0.17 288.6) |
| XYZ | xyz(7.2715, 3.8100, 25.5464) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.06
Indigo
#4B0082
ΔE00 4.57
Indigo Blue
#3A18B1
ΔE00 5.09
Royal
#0C1793
ΔE00 5.10
Cobalt Blue
#030AA7
ΔE00 6.10
Ultramarine
#2000B1
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1C8D #6A8D1C
analogous
#1C318D #3F1C8D #771C8D
triadic
#3F1C8D #8D3F1C #1C8D3F
tetradic
#3F1C8D #8D1C31 #6A8D1C #1C8D77
square
#3F1C8D #8D1C31 #6A8D1C #1C8D77
split-complementary
#3F1C8D #8D771C #318D1C
monochromatic
#110827 #28125A #3F1C8D #5626C0 #7649DB
Accessibility & contrast
On white
11.92
#3F1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3F1C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1C8D
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1C8D | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#1F3D54
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3f1c8d; /* rgb */ color: rgb(63, 28, 141); /* oklch */ color: oklch(35.6% 0.170 288.6);
Tailwind
colors: {
custom: {
50: '#7e5daf',
500: '#3f1c8d',
950: '#000000',
},
}SCSS
$custom: #3f1c8d; $custom-light: #7e5daf; $custom-dark: #000000;
JSON
{
"hex": "#3f1c8d",
"rgb": {
"r": 63,
"g": 28,
"b": 141
},
"hsl": {
"h": 258.584,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.35644,
"c": 0.17018,
"h": 288.6
},
"luminance": 0.0381
}Semantic roles & 50–950 ramp
primary
#3F1C8D
secondary
#99BD48
accent
#EA3EB5
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0411
muted
#7C7980