#4B2FD2#4B2FD2
#4B2FD2 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.231 H 280.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2FD2 |
|---|---|
| RGB | rgb(75, 47, 210) |
| HSL | hsl(250, 64%, 50%) |
| HSV | hsv(250, 78%, 82%) |
| CMYK | cmyk(64.3%, 77.6%, 0%, 17.6%) |
| CIE-LAB | lab(34.36, 56.39, -78.70) |
| CIE-LCH | lch(34.36, 96.82, 305.62°) |
| OKLab | oklab(45.92% 0.0403 -0.2272) |
| OKLCH | oklch(45.92% 0.231 280.1) |
| XYZ | xyz(15.5473, 8.1808, 61.7200) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.37
Purple Blue
#5D21D0
ΔE00 3.03
Blue With A Hint Of Purple
#533CC6
ΔE00 3.07
Purpley Blue
#5F34E7
ΔE00 4.17
Burple
#6832E3
ΔE00 4.65
Blue Violet
#5D06E9
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2FD2 #B6D22F
analogous
#2F64D2 #4B2FD2 #9D2FD2
triadic
#4B2FD2 #D24B2F #2FD24B
tetradic
#4B2FD2 #D22F64 #B6D22F #2FD29D
square
#4B2FD2 #D22F64 #B6D22F #2FD29D
split-complementary
#4B2FD2 #D29D2F #64D22F
monochromatic
#27186F #3823A1 #4B2FD2 #7761DD #A294E8
Accessibility & contrast
On white
7.97
#4B2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#4B2FD2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2FD2
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2FD2 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057D7
Deuteranopia (green-blind)
#004ACF
Tritanopia (blue-blind)
#006080
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4b2fd2; /* rgb */ color: rgb(75, 47, 210); /* oklch */ color: oklch(45.9% 0.231 280.1);
Tailwind
colors: {
custom: {
50: '#8f6ce1',
500: '#4b2fd2',
950: '#000000',
},
}SCSS
$custom: #4b2fd2; $custom-light: #8f6ce1; $custom-dark: #000000;
JSON
{
"hex": "#4b2fd2",
"rgb": {
"r": 75,
"g": 47,
"b": 210
},
"hsl": {
"h": 250.307,
"s": 64.427,
"l": 50.392
},
"oklch": {
"l": 0.45922,
"c": 0.23074,
"h": 280.1
},
"luminance": 0.08182
}Semantic roles & 50–950 ramp
primary
#4B2FD2
secondary
#C6D38A
accent
#E740CB
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0715
muted
#7E7A84