#3C216E#3C216E
#3C216E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.0% C 0.126 H 294.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3C216E |
|---|---|
| RGB | rgb(60, 33, 110) |
| HSL | hsl(261, 54%, 28%) |
| HSV | hsv(261, 70%, 43%) |
| CMYK | cmyk(45.5%, 70%, 0%, 56.9%) |
| CIE-LAB | lab(20.73, 31.76, -40.17) |
| CIE-LCH | lch(20.73, 51.21, 308.33°) |
| OKLab | oklab(33.05% 0.0525 -0.1148) |
| OKLCH | oklch(33.05% 0.126 294.6) |
| XYZ | xyz(5.2211, 3.1740, 15.0864) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.79
Royal Purple (survey)
#4B006E
ΔE00 6.35
Indigo (survey)
#380282
ΔE00 6.63
Indigo
#4B0082
ΔE00 6.66
Dark Indigo
#1F0954
ΔE00 7.08
Darkslateblue
#483D8B
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C216E #536E21
analogous
#212C6E #3C216E #62216E
triadic
#3C216E #6E3C21 #216E3C
tetradic
#3C216E #6E212C #536E21 #216E62
square
#3C216E #6E212C #536E21 #216E62
split-complementary
#3C216E #6E6221 #2C6E21
monochromatic
#0D0718 #22133F #3C216E #562F9D #7143C7
Accessibility & contrast
On white
12.85
#3C216E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#3C216E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C216E
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C216E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C216E | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#2E3344
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3c216e; /* rgb */ color: rgb(60, 33, 110); /* oklch */ color: oklch(33.0% 0.126 294.6);
Tailwind
colors: {
custom: {
50: '#775e98',
500: '#3c216e',
950: '#000000',
},
}SCSS
$custom: #3c216e; $custom-light: #775e98; $custom-dark: #000000;
JSON
{
"hex": "#3c216e",
"rgb": {
"r": 60,
"g": 33,
"b": 110
},
"hsl": {
"h": 261.039,
"s": 53.846,
"l": 28.039
},
"oklch": {
"l": 0.33045,
"c": 0.12625,
"h": 294.6
},
"luminance": 0.03174
}Semantic roles & 50–950 ramp
primary
#3C216E
secondary
#83A249
accent
#DD4BAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E