#4F2A8F#4F2A8F
#4F2A8F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.157 H 294.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2A8F |
|---|---|
| RGB | rgb(79, 42, 143) |
| HSL | hsl(262, 55%, 36%) |
| HSV | hsv(262, 71%, 56%) |
| CMYK | cmyk(44.8%, 70.6%, 0%, 43.9%) |
| CIE-LAB | lab(27.58, 40.15, -49.79) |
| CIE-LCH | lch(27.58, 63.96, 308.88°) |
| OKLab | oklab(39.33% 0.0662 -0.1424) |
| OKLCH | oklch(39.33% 0.157 294.9) |
| XYZ | xyz(9.0090, 5.3011, 26.5298) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.71
Darkslateblue
#483D8B
ΔE00 5.99
Indigo
#4B0082
ΔE00 6.57
Indigo Blue
#3A18B1
ΔE00 6.69
Blueberry
#464196
ΔE00 7.18
Indigo (survey)
#380282
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2A8F #6A8F2A
analogous
#2A388F #4F2A8F #822A8F
triadic
#4F2A8F #8F4F2A #2A8F4F
tetradic
#4F2A8F #8F2A38 #6A8F2A #2A8F82
square
#4F2A8F #8F2A38 #6A8F2A #2A8F82
split-complementary
#4F2A8F #8F822A #388F2A
monochromatic
#1B0E30 #351C60 #4F2A8F #6938BE #8B62D1
Accessibility & contrast
On white
10.19
#4F2A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4F2A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2A8F
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2A8F | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#3D4359
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4f2a8f; /* rgb */ color: rgb(79, 42, 143); /* oklch */ color: oklch(39.3% 0.157 294.9);
Tailwind
colors: {
custom: {
50: '#8666b1',
500: '#4f2a8f',
950: '#000000',
},
}SCSS
$custom: #4f2a8f; $custom-light: #8666b1; $custom-dark: #000000;
JSON
{
"hex": "#4f2a8f",
"rgb": {
"r": 79,
"g": 42,
"b": 143
},
"hsl": {
"h": 261.98,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.39332,
"c": 0.15703,
"h": 294.9
},
"luminance": 0.05301
}Semantic roles & 50–950 ramp
primary
#4F2A8F
secondary
#96B75E
accent
#DE4AA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80