#3C1076#3C1076
#3C1076 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.7% C 0.155 H 295.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1076 |
|---|---|
| RGB | rgb(60, 16, 118) |
| HSL | hsl(266, 76%, 26%) |
| HSV | hsv(266, 86%, 46%) |
| CMYK | cmyk(49.2%, 86.4%, 0%, 53.7%) |
| CIE-LAB | lab(18.54, 42.37, -48.91) |
| CIE-LCH | lch(18.54, 64.72, 310.90°) |
| OKLab | oklab(31.73% 0.066 -0.1403) |
| OKLCH | oklch(31.73% 0.155 295.2) |
| XYZ | xyz(5.3179, 2.6391, 17.3652) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.76
Indigo
#4B0082
ΔE00 3.27
Royal Purple (survey)
#4B006E
ΔE00 4.00
Midnight Blue
#191970
ΔE00 5.89
Deep Blue
#040273
ΔE00 6.40
Dark Royal Blue
#02066F
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1076 #4A7610
analogous
#101776 #3C1076 #6F1076
triadic
#3C1076 #763C10 #10763C
tetradic
#3C1076 #761017 #4A7610 #10766F
square
#3C1076 #761017 #4A7610 #10766F
split-complementary
#3C1076 #766F10 #177610
monochromatic
#0E041B #210940 #3C1076 #5717AC #7320E1
Accessibility & contrast
On white
13.75
#3C1076 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#3C1076 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1076
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1076 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1076 | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#2B2F45
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3c1076; /* rgb */ color: rgb(60, 16, 118); /* oklch */ color: oklch(31.7% 0.155 295.2);
Tailwind
colors: {
custom: {
50: '#79569e',
500: '#3c1076',
950: '#000000',
},
}SCSS
$custom: #3c1076; $custom-light: #79569e; $custom-dark: #000000;
JSON
{
"hex": "#3c1076",
"rgb": {
"r": 60,
"g": 16,
"b": 118
},
"hsl": {
"h": 265.882,
"s": 76.119,
"l": 26.275
},
"oklch": {
"l": 0.31733,
"c": 0.1551,
"h": 295.2
},
"luminance": 0.02639
}Semantic roles & 50–950 ramp
primary
#3C1076
secondary
#79AD35
accent
#F335A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E