#3F1C8F#3F1C8F
#3F1C8F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.172 H 288.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1C8F |
|---|---|
| RGB | rgb(63, 28, 143) |
| HSL | hsl(258, 67%, 34%) |
| HSV | hsv(258, 80%, 56%) |
| CMYK | cmyk(55.9%, 80.4%, 0%, 43.9%) |
| CIE-LAB | lab(23.24, 44.58, -56.96) |
| CIE-LCH | lch(23.24, 72.34, 308.05°) |
| OKLab | oklab(35.85% 0.0537 -0.1639) |
| OKLCH | oklch(35.85% 0.172 288.2) |
| XYZ | xyz(7.4216, 3.8701, 26.3372) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.18
Indigo
#4B0082
ΔE00 4.70
Indigo Blue
#3A18B1
ΔE00 4.79
Royal
#0C1793
ΔE00 5.01
Cobalt Blue
#030AA7
ΔE00 5.90
Ultramarine
#2000B1
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1C8F #6C8F1C
analogous
#1C328F #3F1C8F #781C8F
triadic
#3F1C8F #8F3F1C #1C8F3F
tetradic
#3F1C8F #8F1C32 #6C8F1C #1C8F78
square
#3F1C8F #8F1C32 #6C8F1C #1C8F78
split-complementary
#3F1C8F #8F781C #328F1C
monochromatic
#120829 #28125C #3F1C8F #5626C2 #764ADC
Accessibility & contrast
On white
11.84
#3F1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#3F1C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1C8F
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1C8F | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#1D3E55
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3f1c8f; /* rgb */ color: rgb(63, 28, 143); /* oklch */ color: oklch(35.8% 0.172 288.2);
Tailwind
colors: {
custom: {
50: '#7e5db1',
500: '#3f1c8f',
950: '#000000',
},
}SCSS
$custom: #3f1c8f; $custom-light: #7e5db1; $custom-dark: #000000;
JSON
{
"hex": "#3f1c8f",
"rgb": {
"r": 63,
"g": 28,
"b": 143
},
"hsl": {
"h": 258.261,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.35847,
"c": 0.17249,
"h": 288.2
},
"luminance": 0.0387
}Semantic roles & 50–950 ramp
primary
#3F1C8F
secondary
#9ABE49
accent
#EA3EB6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980