#3C156B#3C156B
#3C156B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.138 H 298.5°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3C156B |
|---|---|
| RGB | rgb(60, 21, 107) |
| HSL | hsl(267, 67%, 25%) |
| HSV | hsv(267, 80%, 42%) |
| CMYK | cmyk(43.9%, 80.4%, 0%, 58%) |
| CIE-LAB | lab(18.18, 37.29, -42.37) |
| CIE-LCH | lch(18.18, 56.44, 311.35°) |
| OKLab | oklab(31.15% 0.0658 -0.1212) |
| OKLCH | oklch(31.15% 0.138 298.5) |
| XYZ | xyz(4.7848, 2.5585, 14.1488) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.00
Indigo
#4B0082
ΔE00 4.93
Indigo (survey)
#380282
ΔE00 4.99
Dark Indigo
#1F0954
ΔE00 5.80
Midnight Blue
#191970
ΔE00 6.13
Dark Royal Blue
#02066F
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C156B #446B15
analogous
#15196B #3C156B #67156B
triadic
#3C156B #6B3C15 #156B3C
tetradic
#3C156B #6B1519 #446B15 #156B67
square
#3C156B #6B1519 #446B15 #156B67
split-complementary
#3C156B #6B6715 #196B15
monochromatic
#0E051A #1F0B38 #3C156B #591F9E #7529D1
Accessibility & contrast
On white
13.89
#3C156B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#3C156B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C156B
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C156B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C156B | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#302C3F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #3c156b; /* rgb */ color: rgb(60, 21, 107); /* oklch */ color: oklch(31.2% 0.138 298.5);
Tailwind
colors: {
custom: {
50: '#775796',
500: '#3c156b',
950: '#000000',
},
}SCSS
$custom: #3c156b; $custom-light: #775796; $custom-dark: #000000;
JSON
{
"hex": "#3c156b",
"rgb": {
"r": 60,
"g": 21,
"b": 107
},
"hsl": {
"h": 267.209,
"s": 67.188,
"l": 25.098
},
"oklch": {
"l": 0.31154,
"c": 0.1379,
"h": 298.5
},
"luminance": 0.02559
}Semantic roles & 50–950 ramp
primary
#3C156B
secondary
#73A23A
accent
#EA3E9C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E