#3F1F91#3F1F91
#3F1F91 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.172 H 287.2°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1F91 |
|---|---|
| RGB | rgb(63, 31, 145) |
| HSL | hsl(257, 65%, 35%) |
| HSV | hsv(257, 79%, 57%) |
| CMYK | cmyk(56.6%, 78.6%, 0%, 43.1%) |
| CIE-LAB | lab(23.94, 43.73, -57.05) |
| CIE-LCH | lch(23.94, 71.89, 307.47°) |
| OKLab | oklab(36.4% 0.051 -0.1642) |
| OKLCH | oklch(36.4% 0.172 287.2) |
| XYZ | xyz(7.6492, 4.0807, 27.1672) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.57
Indigo (survey)
#380282
ΔE00 4.82
Royal
#0C1793
ΔE00 5.06
Indigo
#4B0082
ΔE00 5.30
Cobalt Blue
#030AA7
ΔE00 5.98
Ultramarine
#2000B1
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1F91 #71911F
analogous
#1F3891 #3F1F91 #781F91
triadic
#3F1F91 #913F1F #1F913F
tetradic
#3F1F91 #911F38 #71911F #1F9178
square
#3F1F91 #911F38 #71911F #1F9178
split-complementary
#3F1F91 #91781F #38911F
monochromatic
#13092C #29145F #3F1F91 #552AC3 #7751DA
Accessibility & contrast
On white
11.56
#3F1F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3F1F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1F91
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1F91 | 1.00 | 11.56 | 1.82 | 11.56 |
| #FFFFFF | 11.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#1B4057
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3f1f91; /* rgb */ color: rgb(63, 31, 145); /* oklch */ color: oklch(36.4% 0.172 287.2);
Tailwind
colors: {
custom: {
50: '#7e5fb2',
500: '#3f1f91',
950: '#000000',
},
}SCSS
$custom: #3f1f91; $custom-light: #7e5fb2; $custom-dark: #000000;
JSON
{
"hex": "#3f1f91",
"rgb": {
"r": 63,
"g": 31,
"b": 145
},
"hsl": {
"h": 256.842,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.36396,
"c": 0.17194,
"h": 287.2
},
"luminance": 0.04081
}Semantic roles & 50–950 ramp
primary
#3F1F91
secondary
#9EBD4F
accent
#E840B9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980