#4F2999#4F2999
#4F2999 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.170 H 292.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2999 |
|---|---|
| RGB | rgb(79, 41, 153) |
| HSL | hsl(260, 58%, 38%) |
| HSV | hsv(260, 73%, 60%) |
| CMYK | cmyk(48.4%, 73.2%, 0%, 40%) |
| CIE-LAB | lab(28.24, 43.49, -54.85) |
| CIE-LCH | lch(28.24, 70.00, 308.41°) |
| OKLab | oklab(40.07% 0.0652 -0.1573) |
| OKLCH | oklch(40.07% 0.17 292.5) |
| XYZ | xyz(9.7656, 5.5477, 30.6871) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.88
Indigo Blue
#3A18B1
ΔE00 5.30
Darkslateblue
#483D8B
ΔE00 6.58
Indigo
#4B0082
ΔE00 6.91
Violet Blue
#510AC9
ΔE00 7.07
Blueberry
#464196
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2999 #739929
analogous
#293B99 #4F2999 #872999
triadic
#4F2999 #994F29 #29994F
tetradic
#4F2999 #99293B #739929 #299987
square
#4F2999 #99293B #739929 #299987
split-complementary
#4F2999 #998729 #3B9929
monochromatic
#1D0F38 #361C69 #4F2999 #6836C9 #8C66D6
Accessibility & contrast
On white
9.95
#4F2999 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4F2999 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2999
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2999 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2999 | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#38465E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4f2999; /* rgb */ color: rgb(79, 41, 153); /* oklch */ color: oklch(40.1% 0.170 292.5);
Tailwind
colors: {
custom: {
50: '#8866b8',
500: '#4f2999',
950: '#000000',
},
}SCSS
$custom: #4f2999; $custom-light: #8866b8; $custom-dark: #000000;
JSON
{
"hex": "#4f2999",
"rgb": {
"r": 79,
"g": 41,
"b": 153
},
"hsl": {
"h": 260.357,
"s": 57.732,
"l": 38.039
},
"oklch": {
"l": 0.4007,
"c": 0.17024,
"h": 292.5
},
"luminance": 0.05548
}Semantic roles & 50–950 ramp
primary
#4F2999
secondary
#9DBC62
accent
#E147AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80