#4B136F#4B136F
#4B136F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.148 H 307.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4B136F |
|---|---|
| RGB | rgb(75, 19, 111) |
| HSL | hsl(277, 71%, 25%) |
| HSV | hsv(277, 83%, 44%) |
| CMYK | cmyk(32.4%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(20.48, 41.89, -41.13) |
| CIE-LCH | lch(20.48, 58.71, 315.53°) |
| OKLab | oklab(33.35% 0.09 -0.117) |
| OKLCH | oklch(33.35% 0.148 307.6) |
| XYZ | xyz(6.0032, 3.1094, 15.3198) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.26
Indigo
#4B0082
ΔE00 4.06
Indigo (survey)
#380282
ΔE00 5.87
Plum Purple
#4E0550
ΔE00 7.15
Dark Indigo
#1F0954
ΔE00 8.34
Deep Violet
#490648
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B136F #376F13
analogous
#1D136F #4B136F #6F1365
triadic
#4B136F #6F4B13 #136F4B
tetradic
#4B136F #6F1D13 #376F13 #13656F
square
#4B136F #6F1D13 #376F13 #13656F
split-complementary
#4B136F #656F13 #136F1D
monochromatic
#12041A #280A3B #4B136F #6E1CA3 #9225D8
Accessibility & contrast
On white
12.95
#4B136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#4B136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B136F
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B136F | 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)
#002F71
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#452B41
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #4b136f; /* rgb */ color: rgb(75, 19, 111); /* oklch */ color: oklch(33.3% 0.148 307.6);
Tailwind
colors: {
custom: {
50: '#825899',
500: '#4b136f',
950: '#000000',
},
}SCSS
$custom: #4b136f; $custom-light: #825899; $custom-dark: #000000;
JSON
{
"hex": "#4b136f",
"rgb": {
"r": 75,
"g": 19,
"b": 111
},
"hsl": {
"h": 276.522,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.33348,
"c": 0.14758,
"h": 307.6
},
"luminance": 0.03109
}Semantic roles & 50–950 ramp
primary
#4B136F
secondary
#63A638
accent
#EE3A80
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E