#4B2DCD#4B2DCD
#4B2DCD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.227 H 280.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2DCD |
|---|---|
| RGB | rgb(75, 45, 205) |
| HSL | hsl(251, 64%, 49%) |
| HSV | hsv(251, 78%, 80%) |
| CMYK | cmyk(63.4%, 78%, 0%, 19.6%) |
| CIE-LAB | lab(33.52, 55.89, -77.18) |
| CIE-LCH | lch(33.52, 95.29, 305.91°) |
| OKLab | oklab(45.19% 0.0428 -0.2227) |
| OKLCH | oklch(45.19% 0.227 280.9) |
| XYZ | xyz(14.8560, 7.7793, 58.4645) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.75
Purple Blue
#5D21D0
ΔE00 2.80
Blue With A Hint Of Purple
#533CC6
ΔE00 3.32
Violet Blue
#510AC9
ΔE00 4.41
Blue Violet
#5D06E9
ΔE00 4.78
Purpley Blue
#5F34E7
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2DCD #AFCD2D
analogous
#2D5FCD #4B2DCD #9B2DCD
triadic
#4B2DCD #CD4B2D #2DCD4B
tetradic
#4B2DCD #CD2D5F #AFCD2D #2DCD9B
square
#4B2DCD #CD2D5F #AFCD2D #2DCD9B
split-complementary
#4B2DCD #CD9B2D #5FCD2D
monochromatic
#261769 #39229B #4B2DCD #745CDB #9F8EE6
Accessibility & contrast
On white
8.22
#4B2DCD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#4B2DCD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2DCD
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2DCD | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054D1
Deuteranopia (green-blind)
#0049CA
Tritanopia (blue-blind)
#005D7D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4b2dcd; /* rgb */ color: rgb(75, 45, 205); /* oklch */ color: oklch(45.2% 0.227 280.9);
Tailwind
colors: {
custom: {
50: '#8e6bde',
500: '#4b2dcd',
950: '#000000',
},
}SCSS
$custom: #4b2dcd; $custom-light: #8e6bde; $custom-dark: #000000;
JSON
{
"hex": "#4b2dcd",
"rgb": {
"r": 75,
"g": 45,
"b": 205
},
"hsl": {
"h": 251.25,
"s": 64,
"l": 49.02
},
"oklch": {
"l": 0.45186,
"c": 0.22681,
"h": 280.9
},
"luminance": 0.0778
}Semantic roles & 50–950 ramp
primary
#4B2DCD
secondary
#C2D185
accent
#E741C8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83