#4F167C#4F167C
#4F167C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.159 H 304.5°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4F167C |
|---|---|
| RGB | rgb(79, 22, 124) |
| HSL | hsl(274, 70%, 29%) |
| HSV | hsv(274, 82%, 49%) |
| CMYK | cmyk(36.3%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(22.62, 44.58, -45.95) |
| CIE-LCH | lch(22.62, 64.02, 314.13°) |
| OKLab | oklab(35.33% 0.0899 -0.131) |
| OKLCH | oklch(35.33% 0.159 304.5) |
| XYZ | xyz(7.1486, 3.6913, 19.4008) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.92
Royal Purple (survey)
#4B006E
ΔE00 3.46
Indigo (survey)
#380282
ΔE00 5.12
Rebeccapurple
#663399
ΔE00 7.83
Indigo Blue
#3A18B1
ΔE00 8.90
Midnight Blue
#191970
ΔE00 8.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F167C #437C16
analogous
#1C167C #4F167C #7C1676
triadic
#4F167C #7C4F16 #167C4F
tetradic
#4F167C #7C1C16 #437C16 #16767C
square
#4F167C #7C1C16 #437C16 #16767C
split-complementary
#4F167C #767C16 #167C1C
monochromatic
#11051A #2E0D48 #4F167C #701FB0 #9032DB
Accessibility & contrast
On white
12.08
#4F167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#4F167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F167C
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F167C | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#463149
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #4f167c; /* rgb */ color: rgb(79, 22, 124); /* oklch */ color: oklch(35.3% 0.159 304.5);
Tailwind
colors: {
custom: {
50: '#855ba3',
500: '#4f167c',
950: '#000000',
},
}SCSS
$custom: #4f167c; $custom-light: #855ba3; $custom-dark: #000000;
JSON
{
"hex": "#4f167c",
"rgb": {
"r": 79,
"g": 22,
"b": 124
},
"hsl": {
"h": 273.529,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.35329,
"c": 0.15886,
"h": 304.5
},
"luminance": 0.03691
}Semantic roles & 50–950 ramp
primary
#4F167C
secondary
#70B13D
accent
#ED3B89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F