#3C1F91#3C1F91
#3C1F91 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.172 H 285.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1F91 |
|---|---|
| RGB | rgb(60, 31, 145) |
| HSL | hsl(255, 65%, 35%) |
| HSV | hsv(255, 79%, 57%) |
| CMYK | cmyk(58.6%, 78.6%, 0%, 43.1%) |
| CIE-LAB | lab(23.62, 43.33, -57.59) |
| CIE-LCH | lch(23.62, 72.06, 306.96°) |
| OKLab | oklab(36.1% 0.0463 -0.1659) |
| OKLCH | oklch(36.1% 0.172 285.6) |
| XYZ | xyz(7.4628, 3.9845, 27.1584) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.52
Royal
#0C1793
ΔE00 4.63
Indigo (survey)
#380282
ΔE00 4.82
Indigo
#4B0082
ΔE00 5.55
Cobalt Blue
#030AA7
ΔE00 5.68
Ultramarine
#2000B1
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1F91 #74911F
analogous
#1F3B91 #3C1F91 #751F91
triadic
#3C1F91 #913C1F #1F913C
tetradic
#3C1F91 #911F3B #74911F #1F9175
square
#3C1F91 #911F3B #74911F #1F9175
split-complementary
#3C1F91 #91751F #3B911F
monochromatic
#12092C #27145F #3C1F91 #512AC3 #7451DA
Accessibility & contrast
On white
11.69
#3C1F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3C1F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1F91
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1F91 | 1.00 | 11.69 | 1.80 | 11.69 |
| #FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#104057
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3c1f91; /* rgb */ color: rgb(60, 31, 145); /* oklch */ color: oklch(36.1% 0.172 285.6);
Tailwind
colors: {
custom: {
50: '#7c5fb2',
500: '#3c1f91',
950: '#000000',
},
}SCSS
$custom: #3c1f91; $custom-light: #7c5fb2; $custom-dark: #000000;
JSON
{
"hex": "#3c1f91",
"rgb": {
"r": 60,
"g": 31,
"b": 145
},
"hsl": {
"h": 255.263,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.361,
"c": 0.17219,
"h": 285.6
},
"luminance": 0.03985
}Semantic roles & 50–950 ramp
primary
#3C1F91
secondary
#A1BD4F
accent
#E840BD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980