#4F1976#4F1976
#4F1976 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.149 H 306.4°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1976 |
|---|---|
| RGB | rgb(79, 25, 118) |
| HSL | hsl(275, 65%, 28%) |
| HSV | hsv(275, 79%, 46%) |
| CMYK | cmyk(33.1%, 78.8%, 0%, 53.7%) |
| CIE-LAB | lab(22.53, 41.90, -42.27) |
| CIE-LCH | lch(22.53, 59.51, 314.75°) |
| OKLab | oklab(35.1% 0.0887 -0.1202) |
| OKLCH | oklch(35.1% 0.149 306.4) |
| XYZ | xyz(6.8414, 3.6656, 17.4831) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.42
Indigo
#4B0082
ΔE00 4.01
Indigo (survey)
#380282
ΔE00 6.05
Rebeccapurple
#663399
ΔE00 8.05
Plum Purple
#4E0550
ΔE00 8.19
Darkish Purple
#751973
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1976 #407619
analogous
#211976 #4F1976 #76196E
triadic
#4F1976 #764F19 #19764F
tetradic
#4F1976 #762119 #407619 #196E76
square
#4F1976 #762119 #407619 #196E76
split-complementary
#4F1976 #6E7619 #197621
monochromatic
#110519 #2D0E43 #4F1976 #7124A8 #9235D4
Accessibility & contrast
On white
12.12
#4F1976 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#4F1976 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1976
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1976 | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#483047
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #4f1976; /* rgb */ color: rgb(79, 25, 118); /* oklch */ color: oklch(35.1% 0.149 306.4);
Tailwind
colors: {
custom: {
50: '#855c9e',
500: '#4f1976',
950: '#000000',
},
}SCSS
$custom: #4f1976; $custom-light: #855c9e; $custom-dark: #000000;
JSON
{
"hex": "#4f1976",
"rgb": {
"r": 79,
"g": 25,
"b": 118
},
"hsl": {
"h": 274.839,
"s": 65.035,
"l": 28.039
},
"oklch": {
"l": 0.35105,
"c": 0.1494,
"h": 306.4
},
"luminance": 0.03666
}Semantic roles & 50–950 ramp
primary
#4F1976
secondary
#6DAB40
accent
#E84086
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E