#3C2285#3C2285
#3C2285 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.154 H 287.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2285 |
|---|---|
| RGB | rgb(60, 34, 133) |
| HSL | hsl(256, 59%, 33%) |
| HSV | hsv(256, 74%, 52%) |
| CMYK | cmyk(54.9%, 74.4%, 0%, 47.8%) |
| CIE-LAB | lab(22.99, 38.15, -51.13) |
| CIE-LCH | lch(22.99, 63.80, 306.73°) |
| OKLab | oklab(35.3% 0.0471 -0.147) |
| OKLCH | oklch(35.3% 0.154 287.7) |
| XYZ | xyz(6.6679, 3.7978, 22.5675) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.10
Royal
#0C1793
ΔE00 5.53
Indigo
#4B0082
ΔE00 5.68
Midnight Blue
#191970
ΔE00 5.69
Indigo Blue
#3A18B1
ΔE00 6.53
Cobalt Blue
#030AA7
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2285 #6B8522
analogous
#223985 #3C2285 #6E2285
triadic
#3C2285 #853C22 #22853C
tetradic
#3C2285 #852239 #6B8522 #22856E
square
#3C2285 #852239 #6B8522 #22856E
split-complementary
#3C2285 #856E22 #398522
monochromatic
#100924 #261654 #3C2285 #522EB6 #724FD2
Accessibility & contrast
On white
11.93
#3C2285 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3C2285 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2285
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2285 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2285 | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#1F3D51
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3c2285; /* rgb */ color: rgb(60, 34, 133); /* oklch */ color: oklch(35.3% 0.154 287.7);
Tailwind
colors: {
custom: {
50: '#7a60a9',
500: '#3c2285',
950: '#000000',
},
}SCSS
$custom: #3c2285; $custom-light: #7a60a9; $custom-dark: #000000;
JSON
{
"hex": "#3c2285",
"rgb": {
"r": 60,
"g": 34,
"b": 133
},
"hsl": {
"h": 255.758,
"s": 59.281,
"l": 32.745
},
"oklch": {
"l": 0.35298,
"c": 0.15435,
"h": 287.7
},
"luminance": 0.03798
}Semantic roles & 50–950 ramp
primary
#3C2285
secondary
#9AB64D
accent
#E245B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F