#3F1895#3F1895
#3F1895 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.183 H 287.3°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1895 |
|---|---|
| RGB | rgb(63, 24, 149) |
| HSL | hsl(259, 72%, 34%) |
| HSV | hsv(259, 84%, 58%) |
| CMYK | cmyk(57.7%, 83.9%, 0%, 41.6%) |
| CIE-LAB | lab(23.27, 48.02, -60.63) |
| CIE-LCH | lch(23.27, 77.34, 308.38°) |
| OKLab | oklab(36.06% 0.0542 -0.1746) |
| OKLCH | oklch(36.06% 0.183 287.3) |
| XYZ | xyz(7.7997, 3.8795, 28.7658) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.90
Indigo (survey)
#380282
ΔE00 4.12
Indigo
#4B0082
ΔE00 4.72
Royal
#0C1793
ΔE00 4.84
Ultramarine
#2000B1
ΔE00 5.02
Cobalt Blue
#030AA7
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1895 #6E9518
analogous
#183095 #3F1895 #7E1895
triadic
#3F1895 #953F18 #18953F
tetradic
#3F1895 #951830 #6E9518 #18957E
square
#3F1895 #951830 #6E9518 #18957E
split-complementary
#3F1895 #957E18 #309518
monochromatic
#12072C #291060 #3F1895 #5520CA #7746E1
Accessibility & contrast
On white
11.82
#3F1895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3F1895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1895
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1895 | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#163F58
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3f1895; /* rgb */ color: rgb(63, 24, 149); /* oklch */ color: oklch(36.1% 0.183 287.3);
Tailwind
colors: {
custom: {
50: '#7f5cb5',
500: '#3f1895',
950: '#000000',
},
}SCSS
$custom: #3f1895; $custom-light: #7f5cb5; $custom-dark: #000000;
JSON
{
"hex": "#3f1895",
"rgb": {
"r": 63,
"g": 24,
"b": 149
},
"hsl": {
"h": 258.72,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.36058,
"c": 0.18279,
"h": 287.3
},
"luminance": 0.0388
}Semantic roles & 50–950 ramp
primary
#3F1895
secondary
#9CC246
accent
#EF39B6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980