#4F259F#4F259F
#4F259F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.182 H 291.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4F259F |
|---|---|
| RGB | rgb(79, 37, 159) |
| HSL | hsl(261, 62%, 38%) |
| HSV | hsv(261, 77%, 62%) |
| CMYK | cmyk(50.3%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(28.08, 47.15, -58.77) |
| CIE-LCH | lch(28.08, 75.34, 308.74°) |
| OKLab | oklab(40.13% 0.0672 -0.1687) |
| OKLCH | oklch(40.13% 0.182 291.7) |
| XYZ | xyz(10.1423, 5.4882, 33.3191) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.25
Rebeccapurple
#663399
ΔE00 5.48
Violet Blue
#510AC9
ΔE00 5.92
Indigo
#4B0082
ΔE00 6.74
Purple Blue
#5D21D0
ΔE00 6.83
Ultramarine
#2000B1
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F259F #759F25
analogous
#25389F #4F259F #8C259F
triadic
#4F259F #9F4F25 #259F4F
tetradic
#4F259F #9F2538 #759F25 #259F8C
square
#4F259F #9F2538 #759F25 #259F8C
split-complementary
#4F259F #9F8C25 #389F25
monochromatic
#1E0E3C #36196D #4F259F #6832CF #8D64DB
Accessibility & contrast
On white
10.01
#4F259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4F259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F259F
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F259F | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#344761
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4f259f; /* rgb */ color: rgb(79, 37, 159); /* oklch */ color: oklch(40.1% 0.182 291.7);
Tailwind
colors: {
custom: {
50: '#8964bc',
500: '#4f259f',
950: '#000000',
},
}SCSS
$custom: #4f259f; $custom-light: #8964bc; $custom-dark: #000000;
JSON
{
"hex": "#4f259f",
"rgb": {
"r": 79,
"g": 37,
"b": 159
},
"hsl": {
"h": 260.656,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.40125,
"c": 0.18163,
"h": 291.7
},
"luminance": 0.05489
}Semantic roles & 50–950 ramp
primary
#4F259F
secondary
#9FC05F
accent
#E542AD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81