#3F1F94#3F1F94
#3F1F94 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.175 H 286.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1F94 |
|---|---|
| RGB | rgb(63, 31, 148) |
| HSL | hsl(256, 65%, 35%) |
| HSV | hsv(256, 79%, 58%) |
| CMYK | cmyk(57.4%, 79.1%, 0%, 42%) |
| CIE-LAB | lab(24.24, 44.61, -58.41) |
| CIE-LCH | lch(24.24, 73.49, 307.37°) |
| OKLab | oklab(36.7% 0.0501 -0.1682) |
| OKLCH | oklch(36.7% 0.175 286.6) |
| XYZ | xyz(7.8836, 4.1744, 28.4016) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.13
Royal
#0C1793
ΔE00 5.00
Indigo (survey)
#380282
ΔE00 5.03
Indigo
#4B0082
ΔE00 5.52
Cobalt Blue
#030AA7
ΔE00 5.74
Ultramarine
#2000B1
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1F94 #74941F
analogous
#1F3A94 #3F1F94 #791F94
triadic
#3F1F94 #943F1F #1F943F
tetradic
#3F1F94 #941F3A #74941F #1F9479
square
#3F1F94 #941F3A #74941F #1F9479
split-complementary
#3F1F94 #94791F #3A941F
monochromatic
#140A2F #291461 #3F1F94 #552AC7 #7853DB
Accessibility & contrast
On white
11.44
#3F1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3F1F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1F94
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1F94 | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#174159
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f1f94; /* rgb */ color: rgb(63, 31, 148); /* oklch */ color: oklch(36.7% 0.175 286.6);
Tailwind
colors: {
custom: {
50: '#7f5fb5',
500: '#3f1f94',
950: '#000000',
},
}SCSS
$custom: #3f1f94; $custom-light: #7f5fb5; $custom-dark: #000000;
JSON
{
"hex": "#3f1f94",
"rgb": {
"r": 63,
"g": 31,
"b": 148
},
"hsl": {
"h": 256.41,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.36699,
"c": 0.17546,
"h": 286.6
},
"luminance": 0.04175
}Semantic roles & 50–950 ramp
primary
#3F1F94
secondary
#A0BE51
accent
#E83FBA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980