#4F30CD#4F30CD
#4F30CD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.224 H 282.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4F30CD |
|---|---|
| RGB | rgb(79, 48, 205) |
| HSL | hsl(252, 62%, 50%) |
| HSV | hsv(252, 77%, 80%) |
| CMYK | cmyk(61.5%, 76.6%, 0%, 19.6%) |
| CIE-LAB | lab(34.36, 54.90, -75.78) |
| CIE-LCH | lch(34.36, 93.58, 305.92°) |
| OKLab | oklab(45.86% 0.0468 -0.2186) |
| OKLCH | oklch(45.86% 0.224 282.1) |
| XYZ | xyz(15.2974, 8.1828, 58.5191) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.02
Blue With A Hint Of Purple
#533CC6
ΔE00 2.67
Purple Blue
#5D21D0
ΔE00 2.85
Purpley Blue
#5F34E7
ΔE00 4.32
Bluey Purple
#6241C7
ΔE00 4.55
Burple
#6832E3
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F30CD #AECD30
analogous
#3060CD #4F30CD #9D30CD
triadic
#4F30CD #CD4F30 #30CD4F
tetradic
#4F30CD #CD3060 #AECD30 #30CD9D
square
#4F30CD #CD3060 #AECD30 #30CD9D
split-complementary
#4F30CD #CD9D30 #60CD30
monochromatic
#29196A #3C249B #4F30CD #7860DA #A292E5
Accessibility & contrast
On white
7.96
#4F30CD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#4F30CD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F30CD
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F30CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F30CD | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056D1
Deuteranopia (green-blind)
#004BCA
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4f30cd; /* rgb */ color: rgb(79, 48, 205); /* oklch */ color: oklch(45.9% 0.224 282.1);
Tailwind
colors: {
custom: {
50: '#906dde',
500: '#4f30cd',
950: '#000000',
},
}SCSS
$custom: #4f30cd; $custom-light: #906dde; $custom-dark: #000000;
JSON
{
"hex": "#4f30cd",
"rgb": {
"r": 79,
"g": 48,
"b": 205
},
"hsl": {
"h": 251.847,
"s": 62.055,
"l": 49.608
},
"oklch": {
"l": 0.4586,
"c": 0.22353,
"h": 282.1
},
"luminance": 0.08184
}Semantic roles & 50–950 ramp
primary
#4F30CD
secondary
#C2D089
accent
#E543C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83