#502E90#502E90
#502E90 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.153 H 294.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #502E90 |
|---|---|
| RGB | rgb(80, 46, 144) |
| HSL | hsl(261, 52%, 37%) |
| HSV | hsv(261, 68%, 56%) |
| CMYK | cmyk(44.4%, 68.1%, 0%, 43.5%) |
| CIE-LAB | lab(28.57, 38.43, -48.78) |
| CIE-LCH | lch(28.57, 62.10, 308.23°) |
| OKLab | oklab(40.1% 0.0632 -0.1394) |
| OKLCH | oklch(40.1% 0.153 294.4) |
| XYZ | xyz(9.3179, 5.6728, 26.9842) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.30
Darkslateblue
#483D8B
ΔE00 5.16
Blueberry
#464196
ΔE00 6.34
Indigo Blue
#3A18B1
ΔE00 7.16
Indigo
#4B0082
ΔE00 7.51
Ocean Blue
#4F42B5
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#502E90 #6E902E
analogous
#2E3D90 #502E90 #812E90
triadic
#502E90 #90502E #2E9050
tetradic
#502E90 #902E3D #6E902E #2E9081
square
#502E90 #902E3D #6E902E #2E9081
split-complementary
#502E90 #90812E #3D902E
monochromatic
#1C1033 #361F62 #502E90 #6A3DBE #8D69CF
Accessibility & contrast
On white
9.84
#502E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#502E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #502E90
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##502E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##502E90 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#3E455B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #502e90; /* rgb */ color: rgb(80, 46, 144); /* oklch */ color: oklch(40.1% 0.153 294.4);
Tailwind
colors: {
custom: {
50: '#8769b1',
500: '#502e90',
950: '#000000',
},
}SCSS
$custom: #502e90; $custom-light: #8769b1; $custom-dark: #000000;
JSON
{
"hex": "#502e90",
"rgb": {
"r": 80,
"g": 46,
"b": 144
},
"hsl": {
"h": 260.816,
"s": 51.579,
"l": 37.255
},
"oklch": {
"l": 0.40097,
"c": 0.15308,
"h": 294.4
},
"luminance": 0.05673
}Semantic roles & 50–950 ramp
primary
#502E90
secondary
#9AB664
accent
#DB4DAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80