#4F2C91#4F2C91
#4F2C91 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.157 H 294.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2C91 |
|---|---|
| RGB | rgb(79, 44, 145) |
| HSL | hsl(261, 53%, 37%) |
| HSV | hsv(261, 70%, 57%) |
| CMYK | cmyk(45.5%, 69.7%, 0%, 43.1%) |
| CIE-LAB | lab(28.13, 39.62, -50.11) |
| CIE-LCH | lch(28.13, 63.88, 308.33°) |
| OKLab | oklab(39.78% 0.0637 -0.1434) |
| OKLCH | oklch(39.78% 0.157 294) |
| XYZ | xyz(9.2346, 5.5077, 27.3591) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.55
Darkslateblue
#483D8B
ΔE00 5.58
Indigo Blue
#3A18B1
ΔE00 6.66
Blueberry
#464196
ΔE00 6.67
Indigo
#4B0082
ΔE00 7.09
Ocean Blue
#4F42B5
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2C91 #6E912C
analogous
#2C3C91 #4F2C91 #822C91
triadic
#4F2C91 #914F2C #2C914F
tetradic
#4F2C91 #912C3C #6E912C #2C9182
square
#4F2C91 #912C3C #6E912C #2C9182
split-complementary
#4F2C91 #91822C #3C912C
monochromatic
#1C1033 #351E62 #4F2C91 #693AC0 #8B67D1
Accessibility & contrast
On white
9.99
#4F2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4F2C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2C91
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2C91 | 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)
#004394
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#3C455B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4f2c91; /* rgb */ color: rgb(79, 44, 145); /* oklch */ color: oklch(39.8% 0.157 294.0);
Tailwind
colors: {
custom: {
50: '#8668b2',
500: '#4f2c91',
950: '#000000',
},
}SCSS
$custom: #4f2c91; $custom-light: #8668b2; $custom-dark: #000000;
JSON
{
"hex": "#4f2c91",
"rgb": {
"r": 79,
"g": 44,
"b": 145
},
"hsl": {
"h": 260.792,
"s": 53.439,
"l": 37.059
},
"oklch": {
"l": 0.39783,
"c": 0.15689,
"h": 294
},
"luminance": 0.05508
}Semantic roles & 50–950 ramp
primary
#4F2C91
secondary
#9AB762
accent
#DD4BAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80