#3C1971#3C1971
#3C1971 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.140 H 295.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1971 |
|---|---|
| RGB | rgb(60, 25, 113) |
| HSL | hsl(264, 64%, 27%) |
| HSV | hsv(264, 78%, 44%) |
| CMYK | cmyk(46.9%, 77.9%, 0%, 55.7%) |
| CIE-LAB | lab(19.42, 37.01, -44.23) |
| CIE-LCH | lch(19.42, 57.67, 309.92°) |
| OKLab | oklab(32.2% 0.0604 -0.1267) |
| OKLCH | oklch(32.2% 0.14 295.5) |
| XYZ | xyz(5.1909, 2.8480, 15.8958) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.63
Royal Purple (survey)
#4B006E
ΔE00 4.73
Indigo
#4B0082
ΔE00 4.78
Midnight Blue
#191970
ΔE00 5.53
Dark Indigo
#1F0954
ΔE00 6.48
Dark Royal Blue
#02066F
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1971 #4E7119
analogous
#192271 #3C1971 #681971
triadic
#3C1971 #713C19 #19713C
tetradic
#3C1971 #711922 #4E7119 #197168
square
#3C1971 #711922 #4E7119 #197168
split-complementary
#3C1971 #716819 #227119
monochromatic
#0D0619 #210E3F #3C1971 #5724A3 #7233D2
Accessibility & contrast
On white
13.38
#3C1971 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#3C1971 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1971
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1971 | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#2D3044
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #3c1971; /* rgb */ color: rgb(60, 25, 113); /* oklch */ color: oklch(32.2% 0.140 295.5);
Tailwind
colors: {
custom: {
50: '#785a9b',
500: '#3c1971',
950: '#000000',
},
}SCSS
$custom: #3c1971; $custom-light: #785a9b; $custom-dark: #000000;
JSON
{
"hex": "#3c1971",
"rgb": {
"r": 60,
"g": 25,
"b": 113
},
"hsl": {
"h": 263.864,
"s": 63.768,
"l": 27.059
},
"oklch": {
"l": 0.32201,
"c": 0.14034,
"h": 295.5
},
"luminance": 0.02848
}Semantic roles & 50–950 ramp
primary
#3C1971
secondary
#7DA640
accent
#E741A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E