#4B2FAC#4B2FAC
#4B2FAC is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.186 H 285.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2FAC |
|---|---|
| RGB | rgb(75, 47, 172) |
| HSL | hsl(253, 57%, 43%) |
| HSV | hsv(253, 73%, 67%) |
| CMYK | cmyk(56.4%, 72.7%, 0%, 32.5%) |
| CIE-LAB | lab(30.66, 45.20, -62.41) |
| CIE-LCH | lch(30.66, 77.06, 305.91°) |
| OKLab | oklab(42.21% 0.0498 -0.1796) |
| OKLCH | oklch(42.21% 0.186 285.5) |
| XYZ | xyz(11.3623, 6.5068, 39.6789) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.68
Blue With A Hint Of Purple
#533CC6
ΔE00 4.94
Ocean Blue
#4F42B5
ΔE00 4.99
Blurple
#5539CC
ΔE00 5.26
Purple Blue
#5D21D0
ΔE00 5.58
Violet Blue
#510AC9
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2FAC #90AC2F
analogous
#2F51AC #4B2FAC #892FAC
triadic
#4B2FAC #AC4B2F #2FAC4B
tetradic
#4B2FAC #AC2F51 #90AC2F #2FAC89
square
#4B2FAC #AC2F51 #90AC2F #2FAC89
split-complementary
#4B2FAC #AC892F #51AC2F
monochromatic
#21154C #36227C #4B2FAC #684BCE #907BDB
Accessibility & contrast
On white
9.12
#4B2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#4B2FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2FAC
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2FAC | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#1D516A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4b2fac; /* rgb */ color: rgb(75, 47, 172); /* oklch */ color: oklch(42.2% 0.186 285.5);
Tailwind
colors: {
custom: {
50: '#886ac6',
500: '#4b2fac',
950: '#000000',
},
}SCSS
$custom: #4b2fac; $custom-light: #886ac6; $custom-dark: #000000;
JSON
{
"hex": "#4b2fac",
"rgb": {
"r": 75,
"g": 47,
"b": 172
},
"hsl": {
"h": 253.44,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.42208,
"c": 0.18639,
"h": 285.5
},
"luminance": 0.06507
}Semantic roles & 50–950 ramp
primary
#4B2FAC
secondary
#B1C374
accent
#E047BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82