#4C136B#4C136B
#4C136B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.144 H 310.0°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4C136B |
|---|---|
| RGB | rgb(76, 19, 107) |
| HSL | hsl(279, 70%, 25%) |
| HSV | hsv(279, 82%, 42%) |
| CMYK | cmyk(29%, 82.2%, 0%, 58%) |
| CIE-LAB | lab(20.30, 41.14, -38.82) |
| CIE-LCH | lch(20.30, 56.56, 316.67°) |
| OKLab | oklab(33.15% 0.0925 -0.1101) |
| OKLCH | oklch(33.15% 0.144 310) |
| XYZ | xyz(5.8667, 3.0639, 14.1894) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.48
Indigo
#4B0082
ΔE00 4.87
Plum Purple
#4E0550
ΔE00 6.27
Indigo (survey)
#380282
ΔE00 6.70
Deep Violet
#490648
ΔE00 7.67
Dark Indigo
#1F0954
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C136B #326B13
analogous
#20136B #4C136B #6B135E
triadic
#4C136B #6B4C13 #136B4C
tetradic
#4C136B #6B2013 #326B13 #135E6B
square
#4C136B #6B2013 #326B13 #135E6B
split-complementary
#4C136B #5E6B13 #136B20
monochromatic
#12051A #270A37 #4C136B #711C9F #9625D3
Accessibility & contrast
On white
13.02
#4C136B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#4C136B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C136B
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C136B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C136B | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#48293F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #4c136b; /* rgb */ color: rgb(76, 19, 107); /* oklch */ color: oklch(33.1% 0.144 310.0);
Tailwind
colors: {
custom: {
50: '#825896',
500: '#4c136b',
950: '#000000',
},
}SCSS
$custom: #4c136b; $custom-light: #825896; $custom-dark: #000000;
JSON
{
"hex": "#4c136b",
"rgb": {
"r": 76,
"g": 19,
"b": 107
},
"hsl": {
"h": 278.864,
"s": 69.841,
"l": 24.706
},
"oklch": {
"l": 0.3315,
"c": 0.14382,
"h": 310
},
"luminance": 0.03064
}Semantic roles & 50–950 ramp
primary
#4C136B
secondary
#5DA238
accent
#ED3B7A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E