#4F299F#4F299F
#4F299F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.177 H 291.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4F299F |
|---|---|
| RGB | rgb(79, 41, 159) |
| HSL | hsl(259, 59%, 39%) |
| HSV | hsv(259, 74%, 62%) |
| CMYK | cmyk(50.3%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.78, 45.18, -57.64) |
| CIE-LCH | lch(28.78, 73.23, 308.09°) |
| OKLab | oklab(40.61% 0.0638 -0.1654) |
| OKLCH | oklch(40.61% 0.177 291.1) |
| XYZ | xyz(10.2736, 5.7509, 33.3629) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.69
Rebeccapurple
#663399
ΔE00 5.12
Violet Blue
#510AC9
ΔE00 6.27
Purple Blue
#5D21D0
ΔE00 6.83
Darkslateblue
#483D8B
ΔE00 6.93
Ocean Blue
#4F42B5
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F299F #799F29
analogous
#293E9F #4F299F #8A299F
triadic
#4F299F #9F4F29 #299F4F
tetradic
#4F299F #9F293E #799F29 #299F8A
square
#4F299F #9F293E #799F29 #299F8A
split-complementary
#4F299F #9F8A29 #3E9F29
monochromatic
#1F103E #371C6E #4F299F #6839CC #8E6AD9
Accessibility & contrast
On white
9.77
#4F299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4F299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F299F
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F299F | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#344862
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4f299f; /* rgb */ color: rgb(79, 41, 159); /* oklch */ color: oklch(40.6% 0.177 291.1);
Tailwind
colors: {
custom: {
50: '#8967bc',
500: '#4f299f',
950: '#000000',
},
}SCSS
$custom: #4f299f; $custom-light: #8967bc; $custom-dark: #000000;
JSON
{
"hex": "#4f299f",
"rgb": {
"r": 79,
"g": 41,
"b": 159
},
"hsl": {
"h": 259.322,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.40612,
"c": 0.17731,
"h": 291.1
},
"luminance": 0.05751
}Semantic roles & 50–950 ramp
primary
#4F299F
secondary
#A2BF65
accent
#E246B0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81