#5022AE#5022AE

#5022AE is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.201 H 289.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#5022AE
RGBrgb(80, 34, 174)
HSLhsl(260, 67%, 41%)
HSVhsv(260, 80%, 68%)
CMYKcmyk(54%, 80.5%, 0%, 31.8%)
CIE-LABlab(29.17, 52.72, -66.03)
CIE-LCHlch(29.17, 84.50, 308.61°)
OKLaboklab(41.35% 0.0664 -0.1899)
OKLCHoklch(41.35% 0.201 289.3)
XYZxyz(11.5180, 5.9050, 40.5691)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5022AE #80AE22
analogous
#223AAE #5022AE #9622AE
triadic
#5022AE #AE5022 #22AE50
tetradic
#5022AE #AE223A #80AE22 #22AE96
square
#5022AE #AE223A #80AE22 #22AE96
split-complementary
#5022AE #AE9622 #3AAE22
monochromatic
#210E48 #38187B #5022AE #6B36D8 #9069E2

Accessibility & contrast

On white

9.63
#5022AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5022AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5022AE
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5022AE#FFFFFF#000000##FFFFFF
##5022AE1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#0041AB
Tritanopia (blue-blind)
#2B4B69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5022ae;
/* rgb */ color: rgb(80, 34, 174);
/* oklch */ color: oklch(41.3% 0.201 289.3);
Tailwind
colors: {
  custom: {
    50: '#8c64c7',
    500: '#5022ae',
    950: '#000000',
  },
}
SCSS
$custom: #5022ae;
$custom-light: #8c64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5022ae",
  "rgb": {
    "r": 80,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 259.714,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41347,
    "c": 0.20121,
    "h": 289.3
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#5022AE
secondary
#A7C764
accent
#EA3EB1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5022AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5022AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva