#3C2296#3C2296
#3C2296 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.175 H 284.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2296 |
|---|---|
| RGB | rgb(60, 34, 150) |
| HSL | hsl(253, 63%, 36%) |
| HSV | hsv(253, 77%, 59%) |
| CMYK | cmyk(60%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(24.66, 43.31, -58.96) |
| CIE-LCH | lch(24.66, 73.16, 306.30°) |
| OKLab | oklab(36.98% 0.0427 -0.1699) |
| OKLCH | oklch(36.98% 0.175 284.1) |
| XYZ | xyz(7.9388, 4.3062, 29.2611) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.98
Royal
#0C1793
ΔE00 4.78
Cobalt Blue
#030AA7
ΔE00 5.66
Indigo (survey)
#380282
ΔE00 5.71
Ultramarine
#2000B1
ΔE00 5.81
Royal Blue (survey)
#0504AA
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2296 #7C9622
analogous
#224296 #3C2296 #762296
triadic
#3C2296 #963C22 #22963C
tetradic
#3C2296 #962242 #7C9622 #229676
square
#3C2296 #962242 #7C9622 #229676
split-complementary
#3C2296 #967622 #429622
monochromatic
#140B32 #281764 #3C2296 #502DC8 #7659D9
Accessibility & contrast
On white
11.28
#3C2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3C2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2296
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2296 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#03435B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3c2296; /* rgb */ color: rgb(60, 34, 150); /* oklch */ color: oklch(37.0% 0.175 284.1);
Tailwind
colors: {
custom: {
50: '#7d61b6',
500: '#3c2296',
950: '#000000',
},
}SCSS
$custom: #3c2296; $custom-light: #7d61b6; $custom-dark: #000000;
JSON
{
"hex": "#3c2296",
"rgb": {
"r": 60,
"g": 34,
"b": 150
},
"hsl": {
"h": 253.448,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.3698,
"c": 0.17519,
"h": 284.1
},
"luminance": 0.04307
}Semantic roles & 50–950 ramp
primary
#3C2296
secondary
#A6BE56
accent
#E642C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980