#5020AF#5020AF

#5020AF is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.3% C 0.204 H 289.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#5020AF
RGBrgb(80, 32, 175)
HSLhsl(260, 69%, 41%)
HSVhsv(260, 82%, 69%)
CMYKcmyk(54.3%, 81.7%, 0%, 31.4%)
CIE-LABlab(28.99, 53.82, -66.94)
CIE-LCHlch(28.99, 85.89, 308.80°)
OKLaboklab(41.25% 0.0673 -0.1926)
OKLCHoklch(41.25% 0.204 289.3)
XYZxyz(11.5604, 5.8331, 41.0659)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5020AF #7FAF20
analogous
#2037AF #5020AF #9720AF
triadic
#5020AF #AF5020 #20AF50
tetradic
#5020AF #AF2037 #7FAF20 #20AF97
square
#5020AF #AF2037 #7FAF20 #20AF97
split-complementary
#5020AF #AF9720 #37AF20
monochromatic
#210D48 #38177B #5020AF #6B33DA #9066E3

Accessibility & contrast

On white

9.69
#5020AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5020AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5020AF
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5020AF#FFFFFF#000000##FFFFFF
##5020AF1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#2A4B69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5020af;
/* rgb */ color: rgb(80, 32, 175);
/* oklch */ color: oklch(41.3% 0.204 289.3);
Tailwind
colors: {
  custom: {
    50: '#8c63c8',
    500: '#5020af',
    950: '#000000',
  },
}
SCSS
$custom: #5020af;
$custom-light: #8c63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5020af",
  "rgb": {
    "r": 80,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 260.14,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4125,
    "c": 0.20399,
    "h": 289.3
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

primary
#5020AF
secondary
#A6C862
accent
#EC3CB1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5020AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5020AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva