#4F229E#4F229E
#4F229E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.184 H 292.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4F229E |
|---|---|
| RGB | rgb(79, 34, 158) |
| HSL | hsl(262, 65%, 38%) |
| HSV | hsv(262, 78%, 62%) |
| CMYK | cmyk(50%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(27.50, 48.26, -59.11) |
| CIE-LCH | lch(27.50, 76.31, 309.23°) |
| OKLab | oklab(39.69% 0.0699 -0.1697) |
| OKLCH | oklch(39.69% 0.184 292.4) |
| XYZ | xyz(9.9663, 5.2746, 32.8341) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.12
Rebeccapurple
#663399
ΔE00 5.74
Violet Blue
#510AC9
ΔE00 5.86
Indigo
#4B0082
ΔE00 6.21
Ultramarine
#2000B1
ΔE00 6.80
Indigo (survey)
#380282
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F229E #719E22
analogous
#22339E #4F229E #8D229E
triadic
#4F229E #9E4F22 #229E4F
tetradic
#4F229E #9E2233 #719E22 #229E8D
square
#4F229E #9E2233 #719E22 #229E8D
split-complementary
#4F229E #9E8D22 #339E22
monochromatic
#1D0C39 #36176C #4F229E #682DD0 #8C5EDC
Accessibility & contrast
On white
10.22
#4F229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4F229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F229E
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F229E | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#35455F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4f229e; /* rgb */ color: rgb(79, 34, 158); /* oklch */ color: oklch(39.7% 0.184 292.4);
Tailwind
colors: {
custom: {
50: '#8963bc',
500: '#4f229e',
950: '#000000',
},
}SCSS
$custom: #4f229e; $custom-light: #8963bc; $custom-dark: #000000;
JSON
{
"hex": "#4f229e",
"rgb": {
"r": 79,
"g": 34,
"b": 158
},
"hsl": {
"h": 261.774,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.39691,
"c": 0.18354,
"h": 292.4
},
"luminance": 0.05275
}Semantic roles & 50–950 ramp
primary
#4F229E
secondary
#9CC15B
accent
#E840AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81