#4B2FAE#4B2FAE
#4B2FAE is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.189 H 285.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2FAE |
|---|---|
| RGB | rgb(75, 47, 174) |
| HSL | hsl(253, 57%, 43%) |
| HSV | hsv(253, 73%, 68%) |
| CMYK | cmyk(56.9%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(30.84, 45.80, -63.31) |
| CIE-LCH | lch(30.84, 78.14, 305.88°) |
| OKLab | oklab(42.4% 0.0493 -0.1822) |
| OKLCH | oklch(42.4% 0.189 285.1) |
| XYZ | xyz(11.5558, 6.5842, 40.6981) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.65
Blue With A Hint Of Purple
#533CC6
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 4.91
Blurple
#5539CC
ΔE00 5.02
Purple Blue
#5D21D0
ΔE00 5.35
Violet Blue
#510AC9
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2FAE #92AE2F
analogous
#2F53AE #4B2FAE #8A2FAE
triadic
#4B2FAE #AE4B2F #2FAE4B
tetradic
#4B2FAE #AE2F53 #92AE2F #2FAE8A
square
#4B2FAE #AE2F53 #92AE2F #2FAE8A
split-complementary
#4B2FAE #AE8A2F #53AE2F
monochromatic
#21154E #36227E #4B2FAE #694CCF #917CDC
Accessibility & contrast
On white
9.06
#4B2FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#4B2FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2FAE
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2FAE | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#1A526C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4b2fae; /* rgb */ color: rgb(75, 47, 174); /* oklch */ color: oklch(42.4% 0.189 285.1);
Tailwind
colors: {
custom: {
50: '#886ac7',
500: '#4b2fae',
950: '#000000',
},
}SCSS
$custom: #4b2fae; $custom-light: #886ac7; $custom-dark: #000000;
JSON
{
"hex": "#4b2fae",
"rgb": {
"r": 75,
"g": 47,
"b": 174
},
"hsl": {
"h": 253.228,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.42395,
"c": 0.1888,
"h": 285.1
},
"luminance": 0.06585
}Semantic roles & 50–950 ramp
primary
#4B2FAE
secondary
#B3C475
accent
#E147BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82