#4C2BB9#4C2BB9
#4C2BB9 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.0% C 0.206 H 284.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2BB9 |
|---|---|
| RGB | rgb(76, 43, 185) |
| HSL | hsl(254, 62%, 45%) |
| HSV | hsv(254, 77%, 73%) |
| CMYK | cmyk(58.9%, 76.8%, 0%, 27.5%) |
| CIE-LAB | lab(31.27, 51.19, -69.15) |
| CIE-LCH | lch(31.27, 86.04, 306.51°) |
| OKLab | oklab(43.04% 0.051 -0.1993) |
| OKLCH | oklch(43.04% 0.206 284.4) |
| XYZ | xyz(12.5986, 6.7662, 46.5317) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.86
Violet Blue
#510AC9
ΔE00 4.12
Indigo Blue
#3A18B1
ΔE00 4.21
Blurple
#5539CC
ΔE00 4.33
Blue With A Hint Of Purple
#533CC6
ΔE00 4.38
Ocean Blue
#4F42B5
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2BB9 #98B92B
analogous
#2B51B9 #4C2BB9 #932BB9
triadic
#4C2BB9 #B94C2B #2BB94C
tetradic
#4C2BB9 #B92B51 #98B92B #2BB993
square
#4C2BB9 #B92B51 #98B92B #2BB993
split-complementary
#4C2BB9 #B9932B #51B92B
monochromatic
#231456 #381F87 #4C2BB9 #6C4CD5 #957EE1
Accessibility & contrast
On white
8.92
#4C2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#4C2BB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2BB9
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2BB9 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#075471
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4c2bb9; /* rgb */ color: rgb(76, 43, 185); /* oklch */ color: oklch(43.0% 0.206 284.4);
Tailwind
colors: {
custom: {
50: '#8b69cf',
500: '#4c2bb9',
950: '#000000',
},
}SCSS
$custom: #4c2bb9; $custom-light: #8b69cf; $custom-dark: #000000;
JSON
{
"hex": "#4c2bb9",
"rgb": {
"r": 76,
"g": 43,
"b": 185
},
"hsl": {
"h": 253.944,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.43037,
"c": 0.20568,
"h": 284.4
},
"luminance": 0.06767
}Semantic roles & 50–950 ramp
primary
#4C2BB9
secondary
#B6C976
accent
#E542BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82