#3C1D8B#3C1D8B
#3C1D8B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.167 H 287.2°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1D8B |
|---|---|
| RGB | rgb(60, 29, 139) |
| HSL | hsl(257, 65%, 33%) |
| HSV | hsv(257, 79%, 55%) |
| CMYK | cmyk(56.8%, 79.1%, 0%, 45.5%) |
| CIE-LAB | lab(22.66, 42.54, -55.43) |
| CIE-LCH | lch(22.66, 69.87, 307.51°) |
| OKLab | oklab(35.25% 0.0495 -0.1595) |
| OKLCH | oklch(35.25% 0.167 287.2) |
| XYZ | xyz(6.9617, 3.7031, 24.7690) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.12
Royal
#0C1793
ΔE00 4.79
Indigo
#4B0082
ΔE00 4.90
Indigo Blue
#3A18B1
ΔE00 5.36
Cobalt Blue
#030AA7
ΔE00 6.07
Midnight Blue
#191970
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1D8B #6C8B1D
analogous
#1D358B #3C1D8B #731D8B
triadic
#3C1D8B #8B3C1D #1D8B3C
tetradic
#3C1D8B #8B1D35 #6C8B1D #1D8B73
square
#3C1D8B #8B1D35 #6C8B1D #1D8B73
split-complementary
#3C1D8B #8B731D #358B1D
monochromatic
#100826 #261258 #3C1D8B #5228BE #7249D9
Accessibility & contrast
On white
12.06
#3C1D8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#3C1D8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1D8B
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1D8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1D8B | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#193D53
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3c1d8b; /* rgb */ color: rgb(60, 29, 139); /* oklch */ color: oklch(35.2% 0.167 287.2);
Tailwind
colors: {
custom: {
50: '#7c5dae',
500: '#3c1d8b',
950: '#000000',
},
}SCSS
$custom: #3c1d8b; $custom-light: #7c5dae; $custom-dark: #000000;
JSON
{
"hex": "#3c1d8b",
"rgb": {
"r": 60,
"g": 29,
"b": 139
},
"hsl": {
"h": 256.909,
"s": 65.476,
"l": 32.941
},
"oklch": {
"l": 0.35247,
"c": 0.16703,
"h": 287.2
},
"luminance": 0.03703
}Semantic roles & 50–950 ramp
primary
#3C1D8B
secondary
#9BBB49
accent
#E83FB9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F