#4C136D#4C136D
#4C136D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.146 H 309.1°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4C136D |
|---|---|
| RGB | rgb(76, 19, 109) |
| HSL | hsl(278, 70%, 25%) |
| HSV | hsv(278, 83%, 43%) |
| CMYK | cmyk(30.3%, 82.6%, 0%, 57.3%) |
| CIE-LAB | lab(20.47, 41.61, -39.85) |
| CIE-LCH | lch(20.47, 57.61, 316.24°) |
| OKLab | oklab(33.32% 0.092 -0.1131) |
| OKLCH | oklch(33.32% 0.146 309.1) |
| XYZ | xyz(5.9731, 3.1065, 14.7500) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.34
Indigo
#4B0082
ΔE00 4.50
Indigo (survey)
#380282
ΔE00 6.36
Plum Purple
#4E0550
ΔE00 6.66
Deep Violet
#490648
ΔE00 8.06
Dark Indigo
#1F0954
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C136D #346D13
analogous
#1F136D #4C136D #6D1361
triadic
#4C136D #6D4C13 #136D4C
tetradic
#4C136D #6D1F13 #346D13 #13616D
square
#4C136D #6D1F13 #346D13 #13616D
split-complementary
#4C136D #616D13 #136D1F
monochromatic
#12051A #280A39 #4C136D #701CA1 #9525D5
Accessibility & contrast
On white
12.95
#4C136D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#4C136D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C136D
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C136D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C136D | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#472A40
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #4c136d; /* rgb */ color: rgb(76, 19, 109); /* oklch */ color: oklch(33.3% 0.146 309.1);
Tailwind
colors: {
custom: {
50: '#825898',
500: '#4c136d',
950: '#000000',
},
}SCSS
$custom: #4c136d; $custom-light: #825898; $custom-dark: #000000;
JSON
{
"hex": "#4c136d",
"rgb": {
"r": 76,
"g": 19,
"b": 109
},
"hsl": {
"h": 278,
"s": 70.313,
"l": 25.098
},
"oklch": {
"l": 0.3332,
"c": 0.14583,
"h": 309.1
},
"luminance": 0.03106
}Semantic roles & 50–950 ramp
primary
#4C136D
secondary
#5FA438
accent
#ED3B7C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E