#4B2AB6#4B2AB6
#4B2AB6 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.203 H 284.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2AB6 |
|---|---|
| RGB | rgb(75, 42, 182) |
| HSL | hsl(254, 63%, 44%) |
| HSV | hsv(254, 77%, 71%) |
| CMYK | cmyk(58.8%, 76.9%, 0%, 28.6%) |
| CIE-LAB | lab(30.71, 50.69, -68.30) |
| CIE-LCH | lch(30.71, 85.05, 306.58°) |
| OKLab | oklab(42.53% 0.051 -0.1968) |
| OKLCH | oklch(42.53% 0.203 284.5) |
| XYZ | xyz(12.1705, 6.5284, 44.8657) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.85
Violet Blue
#510AC9
ΔE00 4.16
Purple Blue
#5D21D0
ΔE00 4.21
Blurple
#5539CC
ΔE00 4.80
Blue With A Hint Of Purple
#533CC6
ΔE00 4.80
Ocean Blue
#4F42B5
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2AB6 #95B62A
analogous
#2A4FB6 #4B2AB6 #912AB6
triadic
#4B2AB6 #B64B2A #2AB64B
tetradic
#4B2AB6 #B62A4F #95B62A #2AB691
square
#4B2AB6 #B62A4F #95B62A #2AB691
split-complementary
#4B2AB6 #B6912A #4FB62A
monochromatic
#221353 #371F84 #4B2AB6 #6948D5 #927AE0
Accessibility & contrast
On white
9.11
#4B2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#4B2AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2AB6
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2AB6 | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#0A526F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4b2ab6; /* rgb */ color: rgb(75, 42, 182); /* oklch */ color: oklch(42.5% 0.203 284.5);
Tailwind
colors: {
custom: {
50: '#8a68cd',
500: '#4b2ab6',
950: '#000000',
},
}SCSS
$custom: #4b2ab6; $custom-light: #8a68cd; $custom-dark: #000000;
JSON
{
"hex": "#4b2ab6",
"rgb": {
"r": 75,
"g": 42,
"b": 182
},
"hsl": {
"h": 254.143,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.42533,
"c": 0.20329,
"h": 284.5
},
"luminance": 0.06529
}Semantic roles & 50–950 ramp
primary
#4B2AB6
secondary
#B4C873
accent
#E642BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82