#3F0F76#3F0F76
#3F0F76 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.156 H 297.3°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3F0F76 |
|---|---|
| RGB | rgb(63, 15, 118) |
| HSL | hsl(268, 77%, 26%) |
| HSV | hsv(268, 87%, 46%) |
| CMYK | cmyk(46.6%, 87.3%, 0%, 53.7%) |
| CIE-LAB | lab(18.83, 43.16, -48.42) |
| CIE-LCH | lch(18.83, 64.86, 311.71°) |
| OKLab | oklab(32.02% 0.0717 -0.1388) |
| OKLCH | oklch(32.02% 0.156 297.3) |
| XYZ | xyz(5.4899, 2.7063, 17.3692) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.87
Indigo (survey)
#380282
ΔE00 2.93
Royal Purple (survey)
#4B006E
ΔE00 3.48
Midnight Blue
#191970
ΔE00 6.45
Deep Blue
#040273
ΔE00 6.86
Navy
#000080
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F0F76 #46760F
analogous
#0F1276 #3F0F76 #720F76
triadic
#3F0F76 #763F0F #0F763F
tetradic
#3F0F76 #760F12 #46760F #0F7672
square
#3F0F76 #760F12 #46760F #0F7672
split-complementary
#3F0F76 #76720F #12760F
monochromatic
#0E031B #220840 #3F0F76 #5C16AC #791DE2
Accessibility & contrast
On white
13.63
#3F0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#3F0F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F0F76
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F0F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F0F76 | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#302E44
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #3f0f76; /* rgb */ color: rgb(63, 15, 118); /* oklch */ color: oklch(32.0% 0.156 297.3);
Tailwind
colors: {
custom: {
50: '#7b569e',
500: '#3f0f76',
950: '#000000',
},
}SCSS
$custom: #3f0f76; $custom-light: #7b569e; $custom-dark: #000000;
JSON
{
"hex": "#3f0f76",
"rgb": {
"r": 63,
"g": 15,
"b": 118
},
"hsl": {
"h": 267.961,
"s": 77.444,
"l": 26.078
},
"oklch": {
"l": 0.32024,
"c": 0.15621,
"h": 297.3
},
"luminance": 0.02706
}Semantic roles & 50–950 ramp
primary
#3F0F76
secondary
#75AD33
accent
#F4349A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E