#4F2B94#4F2B94
#4F2B94 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.162 H 293.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2B94 |
|---|---|
| RGB | rgb(79, 43, 148) |
| HSL | hsl(261, 55%, 37%) |
| HSV | hsv(261, 71%, 58%) |
| CMYK | cmyk(46.6%, 70.9%, 0%, 42%) |
| CIE-LAB | lab(28.19, 41.02, -51.87) |
| CIE-LCH | lch(28.19, 66.13, 308.34°) |
| OKLab | oklab(39.9% 0.0643 -0.1485) |
| OKLCH | oklch(39.9% 0.162 293.4) |
| XYZ | xyz(9.4322, 5.5279, 28.5812) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.62
Darkslateblue
#483D8B
ΔE00 5.92
Indigo Blue
#3A18B1
ΔE00 6.14
Blueberry
#464196
ΔE00 6.84
Indigo
#4B0082
ΔE00 7.01
Ocean Blue
#4F42B5
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2B94 #70942B
analogous
#2B3C94 #4F2B94 #832B94
triadic
#4F2B94 #944F2B #2B944F
tetradic
#4F2B94 #942B3C #70942B #2B9483
square
#4F2B94 #942B3C #70942B #2B9483
split-complementary
#4F2B94 #94832B #3C942B
monochromatic
#1C0F35 #361D65 #4F2B94 #6839C3 #8C67D3
Accessibility & contrast
On white
9.97
#4F2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4F2B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2B94
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2B94 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#3B455C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4f2b94; /* rgb */ color: rgb(79, 43, 148); /* oklch */ color: oklch(39.9% 0.162 293.4);
Tailwind
colors: {
custom: {
50: '#8767b4',
500: '#4f2b94',
950: '#000000',
},
}SCSS
$custom: #4f2b94; $custom-light: #8767b4; $custom-dark: #000000;
JSON
{
"hex": "#4f2b94",
"rgb": {
"r": 79,
"g": 43,
"b": 148
},
"hsl": {
"h": 260.571,
"s": 54.974,
"l": 37.451
},
"oklch": {
"l": 0.39899,
"c": 0.16183,
"h": 293.4
},
"luminance": 0.05528
}Semantic roles & 50–950 ramp
primary
#4F2B94
secondary
#9BB962
accent
#DE49AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80