#3B0F76#3B0F76
#3B0F76 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.156 H 294.7°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3B0F76 |
|---|---|
| RGB | rgb(59, 15, 118) |
| HSL | hsl(266, 77%, 26%) |
| HSV | hsv(266, 87%, 46%) |
| CMYK | cmyk(50%, 87.3%, 0%, 53.7%) |
| CIE-LAB | lab(18.27, 42.61, -49.35) |
| CIE-LCH | lch(18.27, 65.20, 310.81°) |
| OKLab | oklab(31.52% 0.065 -0.1416) |
| OKLCH | oklch(31.52% 0.156 294.7) |
| XYZ | xyz(5.2436, 2.5793, 17.3576) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.60
Indigo
#4B0082
ΔE00 3.31
Royal Purple (survey)
#4B006E
ΔE00 4.09
Midnight Blue
#191970
ΔE00 5.80
Deep Blue
#040273
ΔE00 6.19
Navy
#000080
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B0F76 #4A760F
analogous
#0F1676 #3B0F76 #6E0F76
triadic
#3B0F76 #763B0F #0F763B
tetradic
#3B0F76 #760F16 #4A760F #0F766E
square
#3B0F76 #760F16 #4A760F #0F766E
split-complementary
#3B0F76 #766E0F #16760F
monochromatic
#0E031B #200840 #3B0F76 #5616AC #711DE2
Accessibility & contrast
On white
13.85
#3B0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#3B0F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B0F76
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B0F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B0F76 | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#292E44
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3b0f76; /* rgb */ color: rgb(59, 15, 118); /* oklch */ color: oklch(31.5% 0.156 294.7);
Tailwind
colors: {
custom: {
50: '#78559e',
500: '#3b0f76',
950: '#000000',
},
}SCSS
$custom: #3b0f76; $custom-light: #78559e; $custom-dark: #000000;
JSON
{
"hex": "#3b0f76",
"rgb": {
"r": 59,
"g": 15,
"b": 118
},
"hsl": {
"h": 265.631,
"s": 77.444,
"l": 26.078
},
"oklch": {
"l": 0.31522,
"c": 0.15585,
"h": 294.7
},
"luminance": 0.02579
}Semantic roles & 50–950 ramp
primary
#3B0F76
secondary
#79AD33
accent
#F434A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030F
muted
#7C787E