#4F239F#4F239F
#4F239F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.184 H 292.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4F239F |
|---|---|
| RGB | rgb(79, 35, 159) |
| HSL | hsl(261, 64%, 38%) |
| HSV | hsv(261, 78%, 62%) |
| CMYK | cmyk(50.3%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(27.76, 48.08, -59.31) |
| CIE-LCH | lch(27.76, 76.35, 309.03°) |
| OKLab | oklab(39.9% 0.0688 -0.1703) |
| OKLCH | oklch(39.9% 0.184 292) |
| XYZ | xyz(10.0817, 5.3672, 33.2989) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.08
Rebeccapurple
#663399
ΔE00 5.68
Violet Blue
#510AC9
ΔE00 5.78
Indigo
#4B0082
ΔE00 6.45
Purple Blue
#5D21D0
ΔE00 6.86
Ultramarine
#2000B1
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F239F #739F23
analogous
#23359F #4F239F #8D239F
triadic
#4F239F #9F4F23 #239F4F
tetradic
#4F239F #9F2335 #739F23 #239F8D
square
#4F239F #9F2335 #739F23 #239F8D
split-complementary
#4F239F #9F8D23 #359F23
monochromatic
#1D0D3B #36186D #4F239F #682ED1 #8C60DC
Accessibility & contrast
On white
10.13
#4F239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4F239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F239F
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F239F | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#344660
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4f239f; /* rgb */ color: rgb(79, 35, 159); /* oklch */ color: oklch(39.9% 0.184 292.0);
Tailwind
colors: {
custom: {
50: '#8963bc',
500: '#4f239f',
950: '#000000',
},
}SCSS
$custom: #4f239f; $custom-light: #8963bc; $custom-dark: #000000;
JSON
{
"hex": "#4f239f",
"rgb": {
"r": 79,
"g": 35,
"b": 159
},
"hsl": {
"h": 261.29,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.39896,
"c": 0.18367,
"h": 292
},
"luminance": 0.05368
}Semantic roles & 50–950 ramp
primary
#4F239F
secondary
#9DC15D
accent
#E741AC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81