#3C1A93#3C1A93
#3C1A93 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.179 H 285.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1A93 |
|---|---|
| RGB | rgb(60, 26, 147) |
| HSL | hsl(257, 70%, 34%) |
| HSV | hsv(257, 82%, 58%) |
| CMYK | cmyk(59.2%, 82.3%, 0%, 42.4%) |
| CIE-LAB | lab(23.02, 46.26, -59.82) |
| CIE-LCH | lch(23.02, 75.61, 307.71°) |
| OKLab | oklab(35.74% 0.0489 -0.1723) |
| OKLCH | oklch(35.74% 0.179 285.8) |
| XYZ | xyz(7.4977, 3.8056, 27.9376) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.12
Indigo (survey)
#380282
ΔE00 4.15
Royal
#0C1793
ΔE00 4.44
Indigo
#4B0082
ΔE00 5.00
Cobalt Blue
#030AA7
ΔE00 5.08
Ultramarine
#2000B1
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1A93 #71931A
analogous
#1A3493 #3C1A93 #791A93
triadic
#3C1A93 #933C1A #1A933C
tetradic
#3C1A93 #931A34 #71931A #1A9379
square
#3C1A93 #931A34 #71931A #1A9379
split-complementary
#3C1A93 #93791A #34931A
monochromatic
#12082B #27115F #3C1A93 #5123C7 #7349DF
Accessibility & contrast
On white
11.92
#3C1A93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3C1A93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1A93
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1A93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1A93 | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#0C3F57
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3c1a93; /* rgb */ color: rgb(60, 26, 147); /* oklch */ color: oklch(35.7% 0.179 285.8);
Tailwind
colors: {
custom: {
50: '#7d5cb4',
500: '#3c1a93',
950: '#000000',
},
}SCSS
$custom: #3c1a93; $custom-light: #7d5cb4; $custom-dark: #000000;
JSON
{
"hex": "#3c1a93",
"rgb": {
"r": 60,
"g": 26,
"b": 147
},
"hsl": {
"h": 256.86,
"s": 69.942,
"l": 33.922
},
"oklch": {
"l": 0.35744,
"c": 0.17913,
"h": 285.8
},
"luminance": 0.03806
}Semantic roles & 50–950 ramp
primary
#3C1A93
secondary
#9FC048
accent
#ED3BBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980