#3C1F92#3C1F92
#3C1F92 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.173 H 285.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1F92 |
|---|---|
| RGB | rgb(60, 31, 146) |
| HSL | hsl(255, 65%, 35%) |
| HSV | hsv(255, 79%, 57%) |
| CMYK | cmyk(58.9%, 78.8%, 0%, 42.7%) |
| CIE-LAB | lab(23.72, 43.62, -58.04) |
| CIE-LCH | lch(23.72, 72.60, 306.93°) |
| OKLab | oklab(36.2% 0.046 -0.1672) |
| OKLCH | oklch(36.2% 0.173 285.4) |
| XYZ | xyz(7.5402, 4.0155, 27.5663) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.37
Royal
#0C1793
ΔE00 4.61
Indigo (survey)
#380282
ΔE00 4.88
Cobalt Blue
#030AA7
ΔE00 5.60
Indigo
#4B0082
ΔE00 5.62
Ultramarine
#2000B1
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1F92 #75921F
analogous
#1F3C92 #3C1F92 #751F92
triadic
#3C1F92 #923C1F #1F923C
tetradic
#3C1F92 #921F3C #75921F #1F9275
square
#3C1F92 #921F3C #75921F #1F9275
split-complementary
#3C1F92 #92751F #3C921F
monochromatic
#130A2D #271460 #3C1F92 #512AC4 #7451DA
Accessibility & contrast
On white
11.65
#3C1F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3C1F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1F92
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1F92 | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#0E4058
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3c1f92; /* rgb */ color: rgb(60, 31, 146); /* oklch */ color: oklch(36.2% 0.173 285.4);
Tailwind
colors: {
custom: {
50: '#7d5fb3',
500: '#3c1f92',
950: '#000000',
},
}SCSS
$custom: #3c1f92; $custom-light: #7d5fb3; $custom-dark: #000000;
JSON
{
"hex": "#3c1f92",
"rgb": {
"r": 60,
"g": 31,
"b": 146
},
"hsl": {
"h": 255.13,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.36202,
"c": 0.17337,
"h": 285.4
},
"luminance": 0.04016
}Semantic roles & 50–950 ramp
primary
#3C1F92
secondary
#A2BD50
accent
#E840BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980