#4F2C94#4F2C94
#4F2C94 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.161 H 293.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2C94 |
|---|---|
| RGB | rgb(79, 44, 148) |
| HSL | hsl(260, 54%, 38%) |
| HSV | hsv(260, 70%, 58%) |
| CMYK | cmyk(46.6%, 70.3%, 0%, 42%) |
| CIE-LAB | lab(28.38, 40.48, -51.55) |
| CIE-LCH | lch(28.38, 65.54, 308.14°) |
| OKLab | oklab(40.04% 0.0632 -0.1476) |
| OKLCH | oklch(40.04% 0.161 293.2) |
| XYZ | xyz(9.4690, 5.6015, 28.5935) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.56
Darkslateblue
#483D8B
ΔE00 5.70
Indigo Blue
#3A18B1
ΔE00 6.27
Blueberry
#464196
ΔE00 6.62
Indigo
#4B0082
ΔE00 7.22
Ocean Blue
#4F42B5
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2C94 #71942C
analogous
#2C3D94 #4F2C94 #832C94
triadic
#4F2C94 #944F2C #2C944F
tetradic
#4F2C94 #942C3D #71942C #2C9483
square
#4F2C94 #942C3D #71942C #2C9483
split-complementary
#4F2C94 #94832C #3D942C
monochromatic
#1D1036 #361E65 #4F2C94 #683AC3 #8C68D2
Accessibility & contrast
On white
9.90
#4F2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4F2C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2C94
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2C94 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#3B465C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4f2c94; /* rgb */ color: rgb(79, 44, 148); /* oklch */ color: oklch(40.0% 0.161 293.2);
Tailwind
colors: {
custom: {
50: '#8768b4',
500: '#4f2c94',
950: '#000000',
},
}SCSS
$custom: #4f2c94; $custom-light: #8768b4; $custom-dark: #000000;
JSON
{
"hex": "#4f2c94",
"rgb": {
"r": 79,
"g": 44,
"b": 148
},
"hsl": {
"h": 260.192,
"s": 54.167,
"l": 37.647
},
"oklch": {
"l": 0.40039,
"c": 0.16057,
"h": 293.2
},
"luminance": 0.05602
}Semantic roles & 50–950 ramp
primary
#4F2C94
secondary
#9CB963
accent
#DE4AAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80