#3C1972#3C1972
#3C1972 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.142 H 295.1°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1972 |
|---|---|
| RGB | rgb(60, 25, 114) |
| HSL | hsl(264, 64%, 27%) |
| HSV | hsv(264, 78%, 45%) |
| CMYK | cmyk(47.4%, 78.1%, 0%, 55.3%) |
| CIE-LAB | lab(19.52, 37.29, -44.73) |
| CIE-LCH | lch(19.52, 58.23, 309.82°) |
| OKLab | oklab(32.3% 0.0601 -0.1281) |
| OKLCH | oklch(32.3% 0.142 295.1) |
| XYZ | xyz(5.2476, 2.8707, 16.1939) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.49
Indigo
#4B0082
ΔE00 4.68
Royal Purple (survey)
#4B006E
ΔE00 4.77
Midnight Blue
#191970
ΔE00 5.48
Dark Indigo
#1F0954
ΔE00 6.57
Dark Royal Blue
#02066F
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1972 #4F7219
analogous
#192272 #3C1972 #691972
triadic
#3C1972 #723C19 #19723C
tetradic
#3C1972 #721922 #4F7219 #197269
square
#3C1972 #721922 #4F7219 #197269
split-complementary
#3C1972 #726919 #227219
monochromatic
#0D0619 #220E40 #3C1972 #5624A4 #7233D2
Accessibility & contrast
On white
13.34
#3C1972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#3C1972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1972
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1972 | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#2D3144
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #3c1972; /* rgb */ color: rgb(60, 25, 114); /* oklch */ color: oklch(32.3% 0.142 295.1);
Tailwind
colors: {
custom: {
50: '#785a9b',
500: '#3c1972',
950: '#000000',
},
}SCSS
$custom: #3c1972; $custom-light: #785a9b; $custom-dark: #000000;
JSON
{
"hex": "#3c1972",
"rgb": {
"r": 60,
"g": 25,
"b": 114
},
"hsl": {
"h": 263.596,
"s": 64.029,
"l": 27.255
},
"oklch": {
"l": 0.32296,
"c": 0.14153,
"h": 295.1
},
"luminance": 0.02871
}Semantic roles & 50–950 ramp
primary
#3C1972
secondary
#7EA740
accent
#E741A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E