#501889#501889

#501889 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.171 H 300.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#501889
RGBrgb(80, 24, 137)
HSLhsl(270, 70%, 32%)
HSVhsv(270, 82%, 54%)
CMYKcmyk(41.6%, 82.5%, 0%, 46.3%)
CIE-LABlab(24.21, 47.16, -51.55)
CIE-LCHlch(24.21, 69.87, 312.45°)
OKLaboklab(36.83% 0.0858 -0.1474)
OKLCHoklch(36.83% 0.171 300.2)
XYZxyz(8.1491, 4.1648, 24.0366)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501889 #518918
analogous
#181889 #501889 #891889
triadic
#501889 #895018 #188950
tetradic
#501889 #891818 #518918 #188989
square
#501889 #891818 #518918 #188989
split-complementary
#501889 #898918 #188918
monochromatic
#130621 #320F55 #501889 #6E21BD #8D3EDD

Accessibility & contrast

On white

11.46
#501889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#501889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501889
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501889#FFFFFF#000000##FFFFFF
##5018891.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#423851
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501889;
/* rgb */ color: rgb(80, 24, 137);
/* oklch */ color: oklch(36.8% 0.171 300.2);
Tailwind
colors: {
  custom: {
    50: '#875dac',
    500: '#501889',
    950: '#000000',
  },
}
SCSS
$custom: #501889;
$custom-light: #875dac;
$custom-dark: #000000;
JSON
{
  "hex": "#501889",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 269.735,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36825,
    "c": 0.17058,
    "h": 300.2
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#501889
secondary
#7FBD40
accent
#ED3B95
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501889

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

Preview Lab → · Contrast checker → · Palette generator →

#501889 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva