#50239F#50239F
#50239F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.184 H 292.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #50239F |
|---|---|
| RGB | rgb(80, 35, 159) |
| HSL | hsl(262, 64%, 38%) |
| HSV | hsv(262, 78%, 62%) |
| CMYK | cmyk(49.7%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(27.87, 48.23, -59.11) |
| CIE-LCH | lch(27.87, 76.29, 309.21°) |
| OKLab | oklab(40.01% 0.0704 -0.1697) |
| OKLCH | oklch(40.01% 0.184 292.5) |
| XYZ | xyz(10.1656, 5.4104, 33.3029) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.20
Rebeccapurple
#663399
ΔE00 5.54
Violet Blue
#510AC9
ΔE00 5.79
Indigo
#4B0082
ΔE00 6.45
Purple Blue
#5D21D0
ΔE00 6.82
Ultramarine
#2000B1
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#50239F #729F23
analogous
#23349F #50239F #8E239F
triadic
#50239F #9F5023 #239F50
tetradic
#50239F #9F2334 #729F23 #239F8E
square
#50239F #9F2334 #729F23 #239F8E
split-complementary
#50239F #9F8E23 #349F23
monochromatic
#1E0D3B #37186D #50239F #692ED1 #8D60DC
Accessibility & contrast
On white
10.09
#50239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#50239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #50239F
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##50239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##50239F | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#364660
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #50239f; /* rgb */ color: rgb(80, 35, 159); /* oklch */ color: oklch(40.0% 0.184 292.5);
Tailwind
colors: {
custom: {
50: '#8a63bc',
500: '#50239f',
950: '#000000',
},
}SCSS
$custom: #50239f; $custom-light: #8a63bc; $custom-dark: #000000;
JSON
{
"hex": "#50239f",
"rgb": {
"r": 80,
"g": 35,
"b": 159
},
"hsl": {
"h": 261.774,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.40005,
"c": 0.18369,
"h": 292.5
},
"luminance": 0.05411
}Semantic roles & 50–950 ramp
primary
#50239F
secondary
#9DC15D
accent
#E741AB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0612
muted
#7D7A81