#501C90#501C90

#501C90 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.174 H 297.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#501C90
RGBrgb(80, 28, 144)
HSLhsl(267, 67%, 34%)
HSVhsv(267, 81%, 56%)
CMYKcmyk(44.4%, 80.6%, 0%, 43.5%)
CIE-LABlab(25.41, 47.33, -53.94)
CIE-LCHlch(25.41, 71.76, 311.26°)
OKLaboklab(37.86% 0.0804 -0.1545)
OKLCHoklch(37.86% 0.174 297.5)
XYZxyz(8.7562, 4.5494, 26.7969)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C90 #5C901C
analogous
#1C2290 #501C90 #8A1C90
triadic
#501C90 #90501C #1C9050
tetradic
#501C90 #901C22 #5C901C #1C908A
square
#501C90 #901C22 #5C901C #1C908A
split-complementary
#501C90 #908A1C #22901C
monochromatic
#17082A #34125D #501C90 #6C26C3 #8C4ADC

Accessibility & contrast

On white

10.99
#501C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#501C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C90
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C90#FFFFFF#000000##FFFFFF
##501C901.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#3F3C56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #501c90;
/* rgb */ color: rgb(80, 28, 144);
/* oklch */ color: oklch(37.9% 0.174 297.5);
Tailwind
colors: {
  custom: {
    50: '#885fb1',
    500: '#501c90',
    950: '#000000',
  },
}
SCSS
$custom: #501c90;
$custom-light: #885fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#501c90",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 266.897,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37859,
    "c": 0.17416,
    "h": 297.5
  },
  "luminance": 0.0455
}

Semantic roles & 50–950 ramp

primary
#501C90
secondary
#8ABE4A
accent
#EA3D9D
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501C90

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

Preview Lab → · Contrast checker → · Palette generator →

#501C90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva