#4C136F#4C136F
#4C136F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.148 H 308.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4C136F |
|---|---|
| RGB | rgb(76, 19, 111) |
| HSL | hsl(277, 71%, 25%) |
| HSV | hsv(277, 83%, 44%) |
| CMYK | cmyk(31.5%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(20.63, 42.08, -40.87) |
| CIE-LCH | lch(20.63, 58.66, 315.84°) |
| OKLab | oklab(33.49% 0.0915 -0.1162) |
| OKLCH | oklch(33.49% 0.148 308.2) |
| XYZ | xyz(6.0820, 3.1500, 15.3235) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.27
Indigo
#4B0082
ΔE00 4.14
Indigo (survey)
#380282
ΔE00 6.03
Plum Purple
#4E0550
ΔE00 7.03
Deep Violet
#490648
ΔE00 8.44
Dark Indigo
#1F0954
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C136F #366F13
analogous
#1E136F #4C136F #6F1364
triadic
#4C136F #6F4C13 #136F4C
tetradic
#4C136F #6F1E13 #366F13 #13646F
square
#4C136F #6F1E13 #366F13 #13646F
split-complementary
#4C136F #646F13 #136F1E
monochromatic
#12041A #280A3B #4C136F #701CA3 #9425D8
Accessibility & contrast
On white
12.88
#4C136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#4C136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C136F
12.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C136F | 1.00 | 12.88 | 1.63 | 12.88 |
| #FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#462B41
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #4c136f; /* rgb */ color: rgb(76, 19, 111); /* oklch */ color: oklch(33.5% 0.148 308.2);
Tailwind
colors: {
custom: {
50: '#825999',
500: '#4c136f',
950: '#000000',
},
}SCSS
$custom: #4c136f; $custom-light: #825999; $custom-dark: #000000;
JSON
{
"hex": "#4c136f",
"rgb": {
"r": 76,
"g": 19,
"b": 111
},
"hsl": {
"h": 277.174,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.33492,
"c": 0.14786,
"h": 308.2
},
"luminance": 0.0315
}Semantic roles & 50–950 ramp
primary
#4C136F
secondary
#62A638
accent
#EE3A7E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E