#3C216F#3C216F
#3C216F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.1% C 0.128 H 294.2°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3C216F |
|---|---|
| RGB | rgb(60, 33, 111) |
| HSL | hsl(261, 54%, 28%) |
| HSV | hsv(261, 70%, 44%) |
| CMYK | cmyk(45.9%, 70.3%, 0%, 56.5%) |
| CIE-LAB | lab(20.81, 32.06, -40.68) |
| CIE-LCH | lch(20.81, 51.79, 308.24°) |
| OKLab | oklab(33.13% 0.0524 -0.1163) |
| OKLCH | oklch(33.13% 0.128 294.2) |
| XYZ | xyz(5.2758, 3.1959, 15.3747) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.70
Royal Purple (survey)
#4B006E
ΔE00 6.34
Indigo (survey)
#380282
ΔE00 6.49
Indigo
#4B0082
ΔE00 6.55
Dark Indigo
#1F0954
ΔE00 7.14
Darkslateblue
#483D8B
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C216F #546F21
analogous
#212D6F #3C216F #63216F
triadic
#3C216F #6F3C21 #216F3C
tetradic
#3C216F #6F212D #546F21 #216F63
square
#3C216F #6F212D #546F21 #216F63
split-complementary
#3C216F #6F6321 #2D6F21
monochromatic
#0D0718 #221340 #3C216F #552F9E #7143C7
Accessibility & contrast
On white
12.81
#3C216F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#3C216F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C216F
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C216F | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#2E3445
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3c216f; /* rgb */ color: rgb(60, 33, 111); /* oklch */ color: oklch(33.1% 0.128 294.2);
Tailwind
colors: {
custom: {
50: '#775e99',
500: '#3c216f',
950: '#000000',
},
}SCSS
$custom: #3c216f; $custom-light: #775e99; $custom-dark: #000000;
JSON
{
"hex": "#3c216f",
"rgb": {
"r": 60,
"g": 33,
"b": 111
},
"hsl": {
"h": 260.769,
"s": 54.167,
"l": 28.235
},
"oklch": {
"l": 0.33132,
"c": 0.12755,
"h": 294.2
},
"luminance": 0.03196
}Semantic roles & 50–950 ramp
primary
#3C216F
secondary
#84A349
accent
#DE4AAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E