#502E92#502E92
#502E92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.156 H 293.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #502E92 |
|---|---|
| RGB | rgb(80, 46, 146) |
| HSL | hsl(260, 52%, 38%) |
| HSV | hsv(260, 68%, 57%) |
| CMYK | cmyk(45.2%, 68.5%, 0%, 42.7%) |
| CIE-LAB | lab(28.73, 39.00, -49.75) |
| CIE-LCH | lch(28.73, 63.22, 308.10°) |
| OKLab | oklab(40.26% 0.0629 -0.1423) |
| OKLCH | oklch(40.26% 0.156 293.9) |
| XYZ | xyz(9.4722, 5.7345, 27.7964) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.28
Darkslateblue
#483D8B
ΔE00 5.23
Blueberry
#464196
ΔE00 6.28
Indigo Blue
#3A18B1
ΔE00 6.89
Ocean Blue
#4F42B5
ΔE00 7.46
Indigo
#4B0082
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#502E92 #70922E
analogous
#2E3E92 #502E92 #822E92
triadic
#502E92 #92502E #2E9250
tetradic
#502E92 #922E3E #70922E #2E9282
square
#502E92 #922E3E #70922E #2E9282
split-complementary
#502E92 #92822E #3E922E
monochromatic
#1D1135 #361F63 #502E92 #6A3DC1 #8D6AD0
Accessibility & contrast
On white
9.78
#502E92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#502E92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #502E92
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##502E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##502E92 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#3D465C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #502e92; /* rgb */ color: rgb(80, 46, 146); /* oklch */ color: oklch(40.3% 0.156 293.9);
Tailwind
colors: {
custom: {
50: '#8769b3',
500: '#502e92',
950: '#000000',
},
}SCSS
$custom: #502e92; $custom-light: #8769b3; $custom-dark: #000000;
JSON
{
"hex": "#502e92",
"rgb": {
"r": 80,
"g": 46,
"b": 146
},
"hsl": {
"h": 260.4,
"s": 52.083,
"l": 37.647
},
"oklch": {
"l": 0.40263,
"c": 0.15557,
"h": 293.9
},
"luminance": 0.05735
}Semantic roles & 50–950 ramp
primary
#502E92
secondary
#9BB765
accent
#DC4CAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80