#502EAD#502EAD

#502EAD is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.188 H 287.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#502EAD
RGBrgb(80, 46, 173)
HSLhsl(256, 58%, 43%)
HSVhsv(256, 73%, 68%)
CMYKcmyk(53.8%, 73.4%, 0%, 32.2%)
CIE-LABlab(31.06, 46.78, -62.34)
CIE-LCHlch(31.06, 77.94, 306.89°)
OKLaboklab(42.64% 0.0577 -0.1792)
OKLCHoklch(42.64% 0.188 287.9)
XYZxyz(11.8259, 6.6760, 40.1925)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502EAD #8BAD2E
analogous
#2E4BAD #502EAD #8F2EAD
triadic
#502EAD #AD502E #2EAD50
tetradic
#502EAD #AD2E4B #8BAD2E #2EAD8F
square
#502EAD #AD2E4B #8BAD2E #2EAD8F
split-complementary
#502EAD #AD8F2E #4BAD2E
monochromatic
#23144C #3A217D #502EAD #6D49CF #947ADC

Accessibility & contrast

On white

8.99
#502EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#502EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502EAD
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502EAD#FFFFFF#000000##FFFFFF
##502EAD1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#2B506B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #502ead;
/* rgb */ color: rgb(80, 46, 173);
/* oklch */ color: oklch(42.6% 0.188 287.9);
Tailwind
colors: {
  custom: {
    50: '#8b6ac7',
    500: '#502ead',
    950: '#000000',
  },
}
SCSS
$custom: #502ead;
$custom-light: #8b6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#502ead",
  "rgb": {
    "r": 80,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 256.063,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42639,
    "c": 0.18829,
    "h": 287.9
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#502EAD
secondary
#AEC473
accent
#E147B8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #502EAD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#502EAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva