#3C1A94#3C1A94
#3C1A94 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.180 H 285.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1A94 |
|---|---|
| RGB | rgb(60, 26, 148) |
| HSL | hsl(257, 70%, 34%) |
| HSV | hsv(257, 82%, 58%) |
| CMYK | cmyk(59.5%, 82.4%, 0%, 42%) |
| CIE-LAB | lab(23.13, 46.54, -60.26) |
| CIE-LCH | lch(23.13, 76.14, 307.68°) |
| OKLab | oklab(35.85% 0.0486 -0.1736) |
| OKLCH | oklch(35.85% 0.18 285.6) |
| XYZ | xyz(7.5765, 3.8371, 28.3526) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.98
Indigo (survey)
#380282
ΔE00 4.24
Royal
#0C1793
ΔE00 4.43
Cobalt Blue
#030AA7
ΔE00 5.00
Ultramarine
#2000B1
ΔE00 5.07
Indigo
#4B0082
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1A94 #72941A
analogous
#1A3594 #3C1A94 #791A94
triadic
#3C1A94 #943C1A #1A943C
tetradic
#3C1A94 #941A35 #72941A #1A9479
square
#3C1A94 #941A35 #72941A #1A9479
split-complementary
#3C1A94 #94791A #35941A
monochromatic
#12082C #271160 #3C1A94 #5123C8 #7349DF
Accessibility & contrast
On white
11.88
#3C1A94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#3C1A94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1A94
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1A94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1A94 | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#0A3F58
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3c1a94; /* rgb */ color: rgb(60, 26, 148); /* oklch */ color: oklch(35.9% 0.180 285.6);
Tailwind
colors: {
custom: {
50: '#7d5cb5',
500: '#3c1a94',
950: '#000000',
},
}SCSS
$custom: #3c1a94; $custom-light: #7d5cb5; $custom-dark: #000000;
JSON
{
"hex": "#3c1a94",
"rgb": {
"r": 60,
"g": 26,
"b": 148
},
"hsl": {
"h": 256.721,
"s": 70.115,
"l": 34.118
},
"oklch": {
"l": 0.3585,
"c": 0.18026,
"h": 285.6
},
"luminance": 0.03838
}Semantic roles & 50–950 ramp
primary
#3C1A94
secondary
#9FC149
accent
#ED3BBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980