#4C2FBA#4C2FBA
#4C2FBA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.6% C 0.203 H 283.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2FBA |
|---|---|
| RGB | rgb(76, 47, 186) |
| HSL | hsl(253, 60%, 46%) |
| HSV | hsv(253, 75%, 73%) |
| CMYK | cmyk(59.1%, 74.7%, 0%, 27.1%) |
| CIE-LAB | lab(32.06, 49.49, -68.43) |
| CIE-LCH | lch(32.06, 84.45, 305.88°) |
| OKLab | oklab(43.63% 0.048 -0.1972) |
| OKLCH | oklch(43.63% 0.203 283.7) |
| XYZ | xyz(12.8572, 7.1139, 47.1405) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 3.60
Blurple
#5539CC
ΔE00 3.66
Purple Blue
#5D21D0
ΔE00 4.03
Ocean Blue
#4F42B5
ΔE00 4.72
Violet Blue
#510AC9
ΔE00 4.80
Indigo Blue
#3A18B1
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2FBA #9DBA2F
analogous
#2F57BA #4C2FBA #912FBA
triadic
#4C2FBA #BA4C2F #2FBA4C
tetradic
#4C2FBA #BA2F57 #9DBA2F #2FBA91
square
#4C2FBA #BA2F57 #9DBA2F #2FBA91
split-complementary
#4C2FBA #BA912F #57BA2F
monochromatic
#241658 #382389 #4C2FBA #6E53D3 #9784E0
Accessibility & contrast
On white
8.67
#4C2FBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#4C2FBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2FBA
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2FBA | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#035672
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4c2fba; /* rgb */ color: rgb(76, 47, 186); /* oklch */ color: oklch(43.6% 0.203 283.7);
Tailwind
colors: {
custom: {
50: '#8b6bd0',
500: '#4c2fba',
950: '#000000',
},
}SCSS
$custom: #4c2fba; $custom-light: #8b6bd0; $custom-dark: #000000;
JSON
{
"hex": "#4c2fba",
"rgb": {
"r": 76,
"g": 47,
"b": 186
},
"hsl": {
"h": 252.518,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.43625,
"c": 0.20294,
"h": 283.7
},
"luminance": 0.07115
}Semantic roles & 50–950 ramp
primary
#4C2FBA
secondary
#B9C97C
accent
#E345C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82