#4F2998#4F2998
#4F2998 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.169 H 292.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2998 |
|---|---|
| RGB | rgb(79, 41, 152) |
| HSL | hsl(261, 58%, 38%) |
| HSV | hsv(261, 73%, 60%) |
| CMYK | cmyk(48%, 73%, 0%, 40.4%) |
| CIE-LAB | lab(28.15, 43.21, -54.38) |
| CIE-LCH | lch(28.15, 69.46, 308.47°) |
| OKLab | oklab(39.98% 0.0654 -0.1559) |
| OKLCH | oklch(39.98% 0.169 292.8) |
| XYZ | xyz(9.6833, 5.5148, 30.2539) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.85
Indigo Blue
#3A18B1
ΔE00 5.41
Darkslateblue
#483D8B
ΔE00 6.53
Indigo
#4B0082
ΔE00 6.84
Violet Blue
#510AC9
ΔE00 7.21
Blueberry
#464196
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2998 #729829
analogous
#293A98 #4F2998 #872998
triadic
#4F2998 #984F29 #29984F
tetradic
#4F2998 #98293A #729829 #299887
square
#4F2998 #98293A #729829 #299887
split-complementary
#4F2998 #988729 #3A9829
monochromatic
#1D0F38 #361C68 #4F2998 #6836C8 #8C66D6
Accessibility & contrast
On white
9.99
#4F2998 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4F2998 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2998
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2998 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2998 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#39465E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4f2998; /* rgb */ color: rgb(79, 41, 152); /* oklch */ color: oklch(40.0% 0.169 292.8);
Tailwind
colors: {
custom: {
50: '#8866b7',
500: '#4f2998',
950: '#000000',
},
}SCSS
$custom: #4f2998; $custom-light: #8866b7; $custom-dark: #000000;
JSON
{
"hex": "#4f2998",
"rgb": {
"r": 79,
"g": 41,
"b": 152
},
"hsl": {
"h": 260.541,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.39981,
"c": 0.16905,
"h": 292.8
},
"luminance": 0.05515
}Semantic roles & 50–950 ramp
primary
#4F2998
secondary
#9DBC61
accent
#E147AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80