#502E95#502E95
#502E95 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.159 H 293.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #502E95 |
|---|---|
| RGB | rgb(80, 46, 149) |
| HSL | hsl(260, 53%, 38%) |
| HSV | hsv(260, 69%, 58%) |
| CMYK | cmyk(46.3%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(28.98, 39.86, -51.19) |
| CIE-LCH | lch(28.98, 64.88, 307.90°) |
| OKLab | oklab(40.52% 0.0625 -0.1465) |
| OKLCH | oklch(40.52% 0.159 293.1) |
| XYZ | xyz(9.7086, 5.8291, 29.0415) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.29
Darkslateblue
#483D8B
ΔE00 5.36
Blueberry
#464196
ΔE00 6.23
Indigo Blue
#3A18B1
ΔE00 6.52
Ocean Blue
#4F42B5
ΔE00 7.11
Indigo
#4B0082
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#502E95 #73952E
analogous
#2E3F95 #502E95 #832E95
triadic
#502E95 #95502E #2E9550
tetradic
#502E95 #952E3F #73952E #2E9583
square
#502E95 #952E3F #73952E #2E9583
split-complementary
#502E95 #95832E #3F952E
monochromatic
#1E1137 #372066 #502E95 #693DC3 #8D6CD2
Accessibility & contrast
On white
9.70
#502E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#502E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #502E95
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##502E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##502E95 | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#3C475D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #502e95; /* rgb */ color: rgb(80, 46, 149); /* oklch */ color: oklch(40.5% 0.159 293.1);
Tailwind
colors: {
custom: {
50: '#8769b5',
500: '#502e95',
950: '#000000',
},
}SCSS
$custom: #502e95; $custom-light: #8769b5; $custom-dark: #000000;
JSON
{
"hex": "#502e95",
"rgb": {
"r": 80,
"g": 46,
"b": 149
},
"hsl": {
"h": 259.806,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.40515,
"c": 0.15928,
"h": 293.1
},
"luminance": 0.05829
}Semantic roles & 50–950 ramp
primary
#502E95
secondary
#9DB966
accent
#DC4CAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80