#4B2B7F#4B2B7F
#4B2B7F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.135 H 296.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2B7F |
|---|---|
| RGB | rgb(75, 43, 127) |
| HSL | hsl(263, 49%, 33%) |
| HSV | hsv(263, 66%, 50%) |
| CMYK | cmyk(40.9%, 66.1%, 0%, 50.2%) |
| CIE-LAB | lab(26.03, 34.21, -42.34) |
| CIE-LCH | lch(26.03, 54.43, 308.94°) |
| OKLab | oklab(37.71% 0.0613 -0.1207) |
| OKLCH | oklch(37.71% 0.135 296.9) |
| XYZ | xyz(7.5953, 4.7558, 20.5923) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.71
Rebeccapurple
#663399
ΔE00 6.11
Indigo
#4B0082
ΔE00 6.98
Blueberry
#464196
ΔE00 7.62
Royal Purple (survey)
#4B006E
ΔE00 7.67
Indigo (survey)
#380282
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2B7F #5F7F2B
analogous
#2B357F #4B2B7F #752B7F
triadic
#4B2B7F #7F4B2B #2B7F4B
tetradic
#4B2B7F #7F2B35 #5F7F2B #2B7F75
square
#4B2B7F #7F2B35 #5F7F2B #2B7F75
split-complementary
#4B2B7F #7F752B #357F2B
monochromatic
#150C24 #301C51 #4B2B7F #663AAD #855CC8
Accessibility & contrast
On white
10.76
#4B2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4B2B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2B7F
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2B7F | 1.00 | 10.76 | 1.95 | 10.76 |
| #FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#3E3E51
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4b2b7f; /* rgb */ color: rgb(75, 43, 127); /* oklch */ color: oklch(37.7% 0.135 296.9);
Tailwind
colors: {
custom: {
50: '#8266a5',
500: '#4b2b7f',
950: '#000000',
},
}SCSS
$custom: #4b2b7f; $custom-light: #8266a5; $custom-dark: #000000;
JSON
{
"hex": "#4b2b7f",
"rgb": {
"r": 75,
"g": 43,
"b": 127
},
"hsl": {
"h": 262.857,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.37708,
"c": 0.13534,
"h": 296.9
},
"luminance": 0.04756
}Semantic roles & 50–950 ramp
primary
#4B2B7F
secondary
#8DAE58
accent
#D94FA4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F