#3F1B94#3F1B94
#3F1B94 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.179 H 287.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1B94 |
|---|---|
| RGB | rgb(63, 27, 148) |
| HSL | hsl(258, 69%, 34%) |
| HSV | hsv(258, 82%, 58%) |
| CMYK | cmyk(57.4%, 81.8%, 0%, 42%) |
| CIE-LAB | lab(23.60, 46.46, -59.46) |
| CIE-LCH | lch(23.60, 75.46, 308.00°) |
| OKLab | oklab(36.25% 0.0528 -0.1712) |
| OKLCH | oklch(36.25% 0.179 287.1) |
| XYZ | xyz(7.7855, 3.9783, 28.3689) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.03
Indigo (survey)
#380282
ΔE00 4.41
Royal
#0C1793
ΔE00 4.87
Indigo
#4B0082
ΔE00 4.96
Ultramarine
#2000B1
ΔE00 5.37
Cobalt Blue
#030AA7
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1B94 #70941B
analogous
#1B3494 #3F1B94 #7C1B94
triadic
#3F1B94 #943F1B #1B943F
tetradic
#3F1B94 #941B34 #70941B #1B947C
square
#3F1B94 #941B34 #70941B #1B947C
split-complementary
#3F1B94 #947C1B #34941B
monochromatic
#13082C #291260 #3F1B94 #5524C8 #774BDE
Accessibility & contrast
On white
11.69
#3F1B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3F1B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1B94
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1B94 | 1.00 | 11.69 | 1.80 | 11.69 |
| #FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#173F58
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3f1b94; /* rgb */ color: rgb(63, 27, 148); /* oklch */ color: oklch(36.3% 0.179 287.1);
Tailwind
colors: {
custom: {
50: '#7f5db5',
500: '#3f1b94',
950: '#000000',
},
}SCSS
$custom: #3f1b94; $custom-light: #7f5db5; $custom-dark: #000000;
JSON
{
"hex": "#3f1b94",
"rgb": {
"r": 63,
"g": 27,
"b": 148
},
"hsl": {
"h": 257.851,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.36254,
"c": 0.17915,
"h": 287.1
},
"luminance": 0.03979
}Semantic roles & 50–950 ramp
primary
#3F1B94
secondary
#9DC04B
accent
#EC3CB8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980