#4B2F76#4B2F76
#4B2F76 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.7% C 0.117 H 298.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2F76 |
|---|---|
| RGB | rgb(75, 47, 118) |
| HSL | hsl(264, 43%, 32%) |
| HSV | hsv(264, 60%, 46%) |
| CMYK | cmyk(36.4%, 60.2%, 0%, 53.7%) |
| CIE-LAB | lab(26.26, 29.26, -36.26) |
| CIE-LCH | lch(26.26, 46.60, 308.90°) |
| OKLab | oklab(37.67% 0.0566 -0.1028) |
| OKLCH | oklch(37.67% 0.117 298.8) |
| XYZ | xyz(7.1874, 4.8368, 17.6910) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.72
Rebeccapurple
#663399
ΔE00 7.19
Blueberry
#464196
ΔE00 7.97
Royal Purple (survey)
#4B006E
ΔE00 8.66
Indigo
#4B0082
ΔE00 8.77
Midnight Blue
#191970
ΔE00 9.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2F76 #5A762F
analogous
#2F3776 #4B2F76 #6F2F76
triadic
#4B2F76 #764B2F #2F764B
tetradic
#4B2F76 #762F37 #5A762F #2F766F
square
#4B2F76 #762F37 #5A762F #2F766F
split-complementary
#4B2F76 #766F2F #37762F
monochromatic
#130C1E #2F1E4A #4B2F76 #6740A2 #8660C0
Accessibility & contrast
On white
10.67
#4B2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#4B2F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2F76
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2F76 | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C3E78
Deuteranopia (green-blind)
#183D74
Tritanopia (blue-blind)
#423E4D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4b2f76; /* rgb */ color: rgb(75, 47, 118); /* oklch */ color: oklch(37.7% 0.117 298.8);
Tailwind
colors: {
custom: {
50: '#80699e',
500: '#4b2f76',
950: '#000000',
},
}SCSS
$custom: #4b2f76; $custom-light: #80699e; $custom-dark: #000000;
JSON
{
"hex": "#4b2f76",
"rgb": {
"r": 75,
"g": 47,
"b": 118
},
"hsl": {
"h": 263.662,
"s": 43.03,
"l": 32.353
},
"oklch": {
"l": 0.37672,
"c": 0.11735,
"h": 298.8
},
"luminance": 0.04837
}Semantic roles & 50–950 ramp
primary
#4B2F76
secondary
#88A75A
accent
#D355A1
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060E
muted
#7C7A7E