#3C0F76#3C0F76
#3C0F76 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.156 H 295.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3C0F76 |
|---|---|
| RGB | rgb(60, 15, 118) |
| HSL | hsl(266, 77%, 26%) |
| HSV | hsv(266, 87%, 46%) |
| CMYK | cmyk(49.2%, 87.3%, 0%, 53.7%) |
| CIE-LAB | lab(18.41, 42.74, -49.12) |
| CIE-LCH | lch(18.41, 65.12, 311.03°) |
| OKLab | oklab(31.65% 0.0667 -0.1409) |
| OKLCH | oklch(31.65% 0.156 295.3) |
| XYZ | xyz(5.3034, 2.6102, 17.3604) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.67
Indigo
#4B0082
ΔE00 3.19
Royal Purple (survey)
#4B006E
ΔE00 3.93
Midnight Blue
#191970
ΔE00 5.96
Deep Blue
#040273
ΔE00 6.35
Navy
#000080
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C0F76 #49760F
analogous
#0F1576 #3C0F76 #6F0F76
triadic
#3C0F76 #763C0F #0F763C
tetradic
#3C0F76 #760F15 #49760F #0F766F
square
#3C0F76 #760F15 #49760F #0F766F
split-complementary
#3C0F76 #766F0F #15760F
monochromatic
#0E031B #200840 #3C0F76 #5816AC #731DE2
Accessibility & contrast
On white
13.80
#3C0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#3C0F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C0F76
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C0F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C0F76 | 1.00 | 13.80 | 1.52 | 13.80 |
| #FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#2B2E44
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3c0f76; /* rgb */ color: rgb(60, 15, 118); /* oklch */ color: oklch(31.6% 0.156 295.3);
Tailwind
colors: {
custom: {
50: '#79559e',
500: '#3c0f76',
950: '#000000',
},
}SCSS
$custom: #3c0f76; $custom-light: #79559e; $custom-dark: #000000;
JSON
{
"hex": "#3c0f76",
"rgb": {
"r": 60,
"g": 15,
"b": 118
},
"hsl": {
"h": 266.214,
"s": 77.444,
"l": 26.078
},
"oklch": {
"l": 0.31645,
"c": 0.15592,
"h": 295.3
},
"luminance": 0.0261
}Semantic roles & 50–950 ramp
primary
#3C0F76
secondary
#78AD33
accent
#F434A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030F
muted
#7C787E