#4B136E#4B136E
#4B136E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.147 H 308.0°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4B136E |
|---|---|
| RGB | rgb(75, 19, 110) |
| HSL | hsl(277, 71%, 25%) |
| HSV | hsv(277, 83%, 43%) |
| CMYK | cmyk(31.8%, 82.7%, 0%, 56.9%) |
| CIE-LAB | lab(20.39, 41.66, -40.62) |
| CIE-LCH | lch(20.39, 58.18, 315.72°) |
| OKLab | oklab(33.26% 0.0903 -0.1155) |
| OKLCH | oklch(33.26% 0.147 308) |
| XYZ | xyz(5.9484, 3.0875, 15.0314) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.28
Indigo
#4B0082
ΔE00 4.24
Indigo (survey)
#380282
ΔE00 6.03
Plum Purple
#4E0550
ΔE00 6.96
Dark Indigo
#1F0954
ΔE00 8.31
Deep Violet
#490648
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B136E #366E13
analogous
#1D136E #4B136E #6E1363
triadic
#4B136E #6E4B13 #136E4B
tetradic
#4B136E #6E1D13 #366E13 #13636E
square
#4B136E #6E1D13 #366E13 #13636E
split-complementary
#4B136E #636E13 #136E1D
monochromatic
#12051A #270A3A #4B136E #6F1CA2 #9225D6
Accessibility & contrast
On white
12.98
#4B136E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#4B136E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B136E
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B136E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B136E | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#452A41
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #4b136e; /* rgb */ color: rgb(75, 19, 110); /* oklch */ color: oklch(33.3% 0.147 308.0);
Tailwind
colors: {
custom: {
50: '#825898',
500: '#4b136e',
950: '#000000',
},
}SCSS
$custom: #4b136e; $custom-light: #825898; $custom-dark: #000000;
JSON
{
"hex": "#4b136e",
"rgb": {
"r": 75,
"g": 19,
"b": 110
},
"hsl": {
"h": 276.923,
"s": 70.543,
"l": 25.294
},
"oklch": {
"l": 0.33262,
"c": 0.14656,
"h": 308
},
"luminance": 0.03087
}Semantic roles & 50–950 ramp
primary
#4B136E
secondary
#62A538
accent
#ED3A7F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E