#3C156F#3C156F
#3C156F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.142 H 297.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3C156F |
|---|---|
| RGB | rgb(60, 21, 111) |
| HSL | hsl(266, 68%, 26%) |
| HSV | hsv(266, 81%, 44%) |
| CMYK | cmyk(45.9%, 81.1%, 0%, 56.5%) |
| CIE-LAB | lab(18.56, 38.38, -44.35) |
| CIE-LCH | lch(18.56, 58.65, 310.87°) |
| OKLab | oklab(31.54% 0.0646 -0.127) |
| OKLCH | oklch(31.54% 0.143 297) |
| XYZ | xyz(5.0001, 2.6446, 15.2829) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.06
Indigo (survey)
#380282
ΔE00 4.34
Indigo
#4B0082
ΔE00 4.43
Midnight Blue
#191970
ΔE00 5.83
Dark Indigo
#1F0954
ΔE00 6.11
Dark Royal Blue
#02066F
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C156F #486F15
analogous
#151B6F #3C156F #69156F
triadic
#3C156F #6F3C15 #156F3C
tetradic
#3C156F #6F151B #486F15 #156F69
square
#3C156F #6F151B #486F15 #156F69
split-complementary
#3C156F #6F6915 #1B6F15
monochromatic
#0E051A #200B3C #3C156F #581FA2 #7428D6
Accessibility & contrast
On white
13.73
#3C156F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#3C156F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C156F
13.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C156F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C156F | 1.00 | 13.73 | 1.53 | 13.73 |
| #FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#2E2E42
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3c156f; /* rgb */ color: rgb(60, 21, 111); /* oklch */ color: oklch(31.5% 0.142 297.0);
Tailwind
colors: {
custom: {
50: '#785799',
500: '#3c156f',
950: '#000000',
},
}SCSS
$custom: #3c156f; $custom-light: #785799; $custom-dark: #000000;
JSON
{
"hex": "#3c156f",
"rgb": {
"r": 60,
"g": 21,
"b": 111
},
"hsl": {
"h": 266,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.31536,
"c": 0.1425,
"h": 297
},
"luminance": 0.02645
}Semantic roles & 50–950 ramp
primary
#3C156F
secondary
#77A53A
accent
#EB3DA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E