#3C1D79#3C1D79
#3C1D79 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.145 H 292.0°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1D79 |
|---|---|
| RGB | rgb(60, 29, 121) |
| HSL | hsl(260, 61%, 29%) |
| HSV | hsv(260, 76%, 47%) |
| CMYK | cmyk(50.4%, 76%, 0%, 52.5%) |
| CIE-LAB | lab(20.90, 37.25, -46.95) |
| CIE-LCH | lch(20.90, 59.94, 308.43°) |
| OKLab | oklab(33.47% 0.0545 -0.1347) |
| OKLCH | oklch(33.47% 0.145 292) |
| XYZ | xyz(5.7531, 3.2197, 18.4038) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.49
Indigo
#4B0082
ΔE00 4.88
Midnight Blue
#191970
ΔE00 5.22
Royal Purple (survey)
#4B006E
ΔE00 5.79
Royal
#0C1793
ΔE00 6.61
Dark Royal Blue
#02066F
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1D79 #5A791D
analogous
#1D2C79 #3C1D79 #6A1D79
triadic
#3C1D79 #793C1D #1D793C
tetradic
#3C1D79 #791D2C #5A791D #1D796A
square
#3C1D79 #791D2C #5A791D #1D796A
split-complementary
#3C1D79 #796A1D #2C791D
monochromatic
#0C0619 #241148 #3C1D79 #5429AA #703FD1
Accessibility & contrast
On white
12.77
#3C1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#3C1D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1D79
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1D79 | 1.00 | 12.77 | 1.64 | 12.77 |
| #FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#283549
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3c1d79; /* rgb */ color: rgb(60, 29, 121); /* oklch */ color: oklch(33.5% 0.145 292.0);
Tailwind
colors: {
custom: {
50: '#795ca1',
500: '#3c1d79',
950: '#000000',
},
}SCSS
$custom: #3c1d79; $custom-light: #795ca1; $custom-dark: #000000;
JSON
{
"hex": "#3c1d79",
"rgb": {
"r": 60,
"g": 29,
"b": 121
},
"hsl": {
"h": 260.217,
"s": 61.333,
"l": 29.412
},
"oklch": {
"l": 0.33474,
"c": 0.14532,
"h": 292
},
"luminance": 0.0322
}Semantic roles & 50–950 ramp
primary
#3C1D79
secondary
#8AAD45
accent
#E443AE
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F