#3C1F96#3C1F96
#3C1F96 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.178 H 284.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1F96 |
|---|---|
| RGB | rgb(60, 31, 150) |
| HSL | hsl(255, 66%, 35%) |
| HSV | hsv(255, 79%, 59%) |
| CMYK | cmyk(60%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(24.14, 44.81, -59.82) |
| CIE-LCH | lch(24.14, 74.74, 306.83°) |
| OKLab | oklab(36.61% 0.0448 -0.1724) |
| OKLCH | oklch(36.61% 0.178 284.6) |
| XYZ | xyz(7.8568, 4.1421, 29.2337) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.79
Royal
#0C1793
ΔE00 4.58
Indigo (survey)
#380282
ΔE00 5.18
Cobalt Blue
#030AA7
ΔE00 5.30
Ultramarine
#2000B1
ΔE00 5.40
Royal Blue (survey)
#0504AA
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1F96 #79961F
analogous
#1F3D96 #3C1F96 #771F96
triadic
#3C1F96 #963C1F #1F963C
tetradic
#3C1F96 #961F3D #79961F #1F9677
square
#3C1F96 #961F3D #79961F #1F9677
split-complementary
#3C1F96 #96771F #3D961F
monochromatic
#130A31 #281563 #3C1F96 #5029C9 #7554DC
Accessibility & contrast
On white
11.48
#3C1F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3C1F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1F96
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1F96 | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#04425A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c1f96; /* rgb */ color: rgb(60, 31, 150); /* oklch */ color: oklch(36.6% 0.178 284.6);
Tailwind
colors: {
custom: {
50: '#7d5fb6',
500: '#3c1f96',
950: '#000000',
},
}SCSS
$custom: #3c1f96; $custom-light: #7d5fb6; $custom-dark: #000000;
JSON
{
"hex": "#3c1f96",
"rgb": {
"r": 60,
"g": 31,
"b": 150
},
"hsl": {
"h": 254.622,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.36614,
"c": 0.17812,
"h": 284.6
},
"luminance": 0.04143
}Semantic roles & 50–950 ramp
primary
#3C1F96
secondary
#A4BF52
accent
#E93FBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980