#4F30CF#4F30CF
#4F30CF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.226 H 281.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4F30CF |
|---|---|
| RGB | rgb(79, 48, 207) |
| HSL | hsl(252, 62%, 50%) |
| HSV | hsv(252, 77%, 81%) |
| CMYK | cmyk(61.8%, 76.8%, 0%, 18.8%) |
| CIE-LAB | lab(34.56, 55.48, -76.61) |
| CIE-LCH | lch(34.56, 94.59, 305.91°) |
| OKLab | oklab(46.06% 0.0462 -0.221) |
| OKLCH | oklch(46.06% 0.226 281.8) |
| XYZ | xyz(15.5404, 8.2800, 59.7987) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.99
Blue With A Hint Of Purple
#533CC6
ΔE00 2.71
Purple Blue
#5D21D0
ΔE00 2.85
Purpley Blue
#5F34E7
ΔE00 4.10
Burple
#6832E3
ΔE00 4.46
Bluey Purple
#6241C7
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F30CF #B0CF30
analogous
#3061CF #4F30CF #9E30CF
triadic
#4F30CF #CF4F30 #30CF4F
tetradic
#4F30CF #CF3061 #B0CF30 #30CF9E
square
#4F30CF #CF3061 #B0CF30 #30CF9E
split-complementary
#4F30CF #CF9E30 #61CF30
monochromatic
#29196C #3C249D #4F30CF #7962DB #A393E6
Accessibility & contrast
On white
7.91
#4F30CF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#4F30CF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F30CF
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F30CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F30CF | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056D3
Deuteranopia (green-blind)
#004CCC
Tritanopia (blue-blind)
#005F7E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4f30cf; /* rgb */ color: rgb(79, 48, 207); /* oklch */ color: oklch(46.1% 0.226 281.8);
Tailwind
colors: {
custom: {
50: '#906ddf',
500: '#4f30cf',
950: '#000000',
},
}SCSS
$custom: #4f30cf; $custom-light: #906ddf; $custom-dark: #000000;
JSON
{
"hex": "#4f30cf",
"rgb": {
"r": 79,
"g": 48,
"b": 207
},
"hsl": {
"h": 251.698,
"s": 62.353,
"l": 50
},
"oklch": {
"l": 0.46058,
"c": 0.2258,
"h": 281.8
},
"luminance": 0.08281
}Semantic roles & 50–950 ramp
primary
#4F30CF
secondary
#C3D18A
accent
#E542C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83