#4B2FC2#4B2FC2
#4B2FC2 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.212 H 282.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2FC2 |
|---|---|
| RGB | rgb(75, 47, 194) |
| HSL | hsl(251, 61%, 47%) |
| HSV | hsv(251, 76%, 76%) |
| CMYK | cmyk(61.3%, 75.8%, 0%, 23.9%) |
| CIE-LAB | lab(32.75, 51.72, -72.02) |
| CIE-LCH | lch(32.75, 88.67, 305.69°) |
| OKLab | oklab(44.32% 0.0445 -0.2077) |
| OKLCH | oklch(44.32% 0.212 282.1) |
| XYZ | xyz(13.6527, 7.4230, 51.7418) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 3.00
Blue With A Hint Of Purple
#533CC6
ΔE00 3.16
Purple Blue
#5D21D0
ΔE00 3.49
Violet Blue
#510AC9
ΔE00 4.64
Ocean Blue
#4F42B5
ΔE00 4.86
Bluey Purple
#6241C7
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2FC2 #A6C22F
analogous
#2F5CC2 #4B2FC2 #952FC2
triadic
#4B2FC2 #C24B2F #2FC24B
tetradic
#4B2FC2 #C22F5C #A6C22F #2FC295
square
#4B2FC2 #C22F5C #A6C22F #2FC295
split-complementary
#4B2FC2 #C2952F #5CC22F
monochromatic
#25175F #382391 #4B2FC2 #7058D6 #9A89E2
Accessibility & contrast
On white
8.45
#4B2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#4B2FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2FC2
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2FC2 | 1.00 | 8.45 | 2.48 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4b2fc2; /* rgb */ color: rgb(75, 47, 194); /* oklch */ color: oklch(44.3% 0.212 282.1);
Tailwind
colors: {
custom: {
50: '#8c6bd6',
500: '#4b2fc2',
950: '#000000',
},
}SCSS
$custom: #4b2fc2; $custom-light: #8c6bd6; $custom-dark: #000000;
JSON
{
"hex": "#4b2fc2",
"rgb": {
"r": 75,
"g": 47,
"b": 194
},
"hsl": {
"h": 251.429,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.4432,
"c": 0.21242,
"h": 282.1
},
"luminance": 0.07424
}Semantic roles & 50–950 ramp
primary
#4B2FC2
secondary
#BECC81
accent
#E444C6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83