#501990#501990

#501990 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.177 H 297.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#501990
RGBrgb(80, 25, 144)
HSLhsl(268, 70%, 33%)
HSVhsv(268, 83%, 56%)
CMYKcmyk(44.4%, 82.6%, 0%, 43.5%)
CIE-LABlab(25.00, 48.53, -54.62)
CIE-LCHlch(25.00, 73.06, 311.62°)
OKLaboklab(37.57% 0.0828 -0.1564)
OKLCHoklch(37.57% 0.177 297.9)
XYZxyz(8.6886, 4.4142, 26.7744)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501990 #599019
analogous
#191E90 #501990 #8B1990
triadic
#501990 #905019 #199050
tetradic
#501990 #90191E #599019 #19908B
square
#501990 #90191E #599019 #19908B
split-complementary
#501990 #908B19 #1E9019
monochromatic
#160728 #33105C #501990 #6D22C4 #8C45DF

Accessibility & contrast

On white

11.15
#501990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#501990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501990
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501990#FFFFFF#000000##FFFFFF
##5019901.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#3F3B55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #501990;
/* rgb */ color: rgb(80, 25, 144);
/* oklch */ color: oklch(37.6% 0.177 297.9);
Tailwind
colors: {
  custom: {
    50: '#885eb2',
    500: '#501990',
    950: '#000000',
  },
}
SCSS
$custom: #501990;
$custom-light: #885eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#501990",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 267.731,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37571,
    "c": 0.17697,
    "h": 297.9
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#501990
secondary
#87C045
accent
#ED3B9B
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501990

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

Preview Lab → · Contrast checker → · Palette generator →

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