#4A136C#4A136C
#4A136C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.144 H 308.2°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4A136C |
|---|---|
| RGB | rgb(74, 19, 108) |
| HSL | hsl(277, 70%, 25%) |
| HSV | hsv(277, 82%, 42%) |
| CMYK | cmyk(31.5%, 82.4%, 0%, 57.6%) |
| CIE-LAB | lab(20.06, 40.99, -39.87) |
| CIE-LCH | lch(20.06, 57.18, 315.80°) |
| OKLab | oklab(32.95% 0.0893 -0.1133) |
| OKLCH | oklch(32.95% 0.144 308.2) |
| XYZ | xyz(5.7631, 3.0044, 14.4608) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.35
Indigo
#4B0082
ΔE00 4.53
Indigo (survey)
#380282
ΔE00 6.21
Plum Purple
#4E0550
ΔE00 6.71
Deep Violet
#490648
ΔE00 8.05
Dark Indigo
#1F0954
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A136C #356C13
analogous
#1E136C #4A136C #6C1361
triadic
#4A136C #6C4A13 #136C4A
tetradic
#4A136C #6C1E13 #356C13 #13616C
square
#4A136C #6C1E13 #356C13 #13616C
split-complementary
#4A136C #616C13 #136C1E
monochromatic
#12051A #260A38 #4A136C #6E1CA0 #9125D4
Accessibility & contrast
On white
13.12
#4A136C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#4A136C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A136C
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A136C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A136C | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#452A3F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #4a136c; /* rgb */ color: rgb(74, 19, 108); /* oklch */ color: oklch(32.9% 0.144 308.2);
Tailwind
colors: {
custom: {
50: '#815897',
500: '#4a136c',
950: '#000000',
},
}SCSS
$custom: #4a136c; $custom-light: #815897; $custom-dark: #000000;
JSON
{
"hex": "#4a136c",
"rgb": {
"r": 74,
"g": 19,
"b": 108
},
"hsl": {
"h": 277.079,
"s": 70.079,
"l": 24.902
},
"oklch": {
"l": 0.32945,
"c": 0.14424,
"h": 308.2
},
"luminance": 0.03004
}Semantic roles & 50–950 ramp
primary
#4A136C
secondary
#61A338
accent
#ED3B7F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E