#3C159F#3C159F
#3C159F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.6% C 0.196 H 283.9°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3C159F |
|---|---|
| RGB | rgb(60, 21, 159) |
| HSL | hsl(257, 77%, 35%) |
| HSV | hsv(257, 87%, 62%) |
| CMYK | cmyk(62.3%, 86.8%, 0%, 37.6%) |
| CIE-LAB | lab(23.67, 51.61, -66.11) |
| CIE-LCH | lch(23.67, 83.88, 307.98°) |
| OKLab | oklab(36.59% 0.0471 -0.1906) |
| OKLCH | oklch(36.59% 0.196 283.9) |
| XYZ | xyz(8.3877, 3.9996, 33.1242) |
| Luminance | 0.0400 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.52
Ultramarine
#2000B1
ΔE00 3.66
Cobalt Blue
#030AA7
ΔE00 4.12
Royal Blue (survey)
#0504AA
ΔE00 4.23
Royal
#0C1793
ΔE00 4.67
Indigo (survey)
#380282
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C159F #789F15
analogous
#15339F #3C159F #81159F
triadic
#3C159F #9F3C15 #159F3C
tetradic
#3C159F #9F1533 #789F15 #159F81
square
#3C159F #9F1533 #789F15 #159F81
split-complementary
#3C159F #9F8115 #339F15
monochromatic
#130733 #280E69 #3C159F #501CD5 #7548E7
Accessibility & contrast
On white
11.67
#3C159F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3C159F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C159F
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C159F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C159F | 1.00 | 11.67 | 1.80 | 11.67 |
| #FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#00425E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3c159f; /* rgb */ color: rgb(60, 21, 159); /* oklch */ color: oklch(36.6% 0.196 283.9);
Tailwind
colors: {
custom: {
50: '#805bbd',
500: '#3c159f',
950: '#000000',
},
}SCSS
$custom: #3c159f; $custom-light: #805bbd; $custom-dark: #000000;
JSON
{
"hex": "#3c159f",
"rgb": {
"r": 60,
"g": 21,
"b": 159
},
"hsl": {
"h": 256.957,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.36585,
"c": 0.19633,
"h": 283.9
},
"luminance": 0.04
}Semantic roles & 50–950 ramp
primary
#3C159F
secondary
#A4C848
accent
#F335BD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981