#3C2C85#3C2C85
#3C2C85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.8% C 0.142 H 285.3°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2C85 |
|---|---|
| RGB | rgb(60, 44, 133) |
| HSL | hsl(251, 50%, 35%) |
| HSV | hsv(251, 67%, 52%) |
| CMYK | cmyk(54.9%, 66.9%, 0%, 47.8%) |
| CIE-LAB | lab(25.12, 32.30, -47.65) |
| CIE-LCH | lch(25.12, 57.56, 304.13°) |
| OKLab | oklab(36.83% 0.0375 -0.1368) |
| OKLCH | oklch(36.83% 0.142 285.3) |
| XYZ | xyz(6.9965, 4.4551, 22.6770) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.95
Blueberry
#464196
ΔE00 6.23
Midnight Blue
#191970
ΔE00 6.56
Royal
#0C1793
ΔE00 6.90
Sapphire (survey)
#2138AB
ΔE00 7.49
Indigo Blue
#3A18B1
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2C85 #75852C
analogous
#2C4885 #3C2C85 #692C85
triadic
#3C2C85 #853C2C #2C853C
tetradic
#3C2C85 #852C48 #75852C #2C8569
square
#3C2C85 #852C48 #75852C #2C8569
split-complementary
#3C2C85 #85692C #48852C
monochromatic
#130E29 #271D57 #3C2C85 #513BB3 #7461CB
Accessibility & contrast
On white
11.11
#3C2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3C2C85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2C85
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2C85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2C85 | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#1E4254
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3c2c85; /* rgb */ color: rgb(60, 44, 133); /* oklch */ color: oklch(36.8% 0.142 285.3);
Tailwind
colors: {
custom: {
50: '#7966a9',
500: '#3c2c85',
950: '#000000',
},
}SCSS
$custom: #3c2c85; $custom-light: #7966a9; $custom-dark: #000000;
JSON
{
"hex": "#3c2c85",
"rgb": {
"r": 60,
"g": 44,
"b": 133
},
"hsl": {
"h": 250.787,
"s": 50.282,
"l": 34.706
},
"oklch": {
"l": 0.36825,
"c": 0.14183,
"h": 285.3
},
"luminance": 0.04455
}Semantic roles & 50–950 ramp
primary
#3C2C85
secondary
#A2B15C
accent
#DA4EC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F