#501B90#501B90

#501B90 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.175 H 297.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#501B90
RGBrgb(80, 27, 144)
HSLhsl(267, 68%, 34%)
HSVhsv(267, 81%, 56%)
CMYKcmyk(44.4%, 81.3%, 0%, 43.5%)
CIE-LABlab(25.27, 47.74, -54.17)
CIE-LCHlch(25.27, 72.20, 311.39°)
OKLaboklab(37.76% 0.0812 -0.1551)
OKLCHoklch(37.76% 0.175 297.6)
XYZxyz(8.7329, 4.5028, 26.7892)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B90 #5B901B
analogous
#1B2190 #501B90 #8A1B90
triadic
#501B90 #90501B #1B9050
tetradic
#501B90 #901B21 #5B901B #1B908A
square
#501B90 #901B21 #5B901B #1B908A
split-complementary
#501B90 #908A1B #21901B
monochromatic
#170829 #33115C #501B90 #6D25C4 #8C49DD

Accessibility & contrast

On white

11.05
#501B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#501B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B90
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B90#FFFFFF#000000##FFFFFF
##501B901.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501b90;
/* rgb */ color: rgb(80, 27, 144);
/* oklch */ color: oklch(37.8% 0.175 297.6);
Tailwind
colors: {
  custom: {
    50: '#885fb2',
    500: '#501b90',
    950: '#000000',
  },
}
SCSS
$custom: #501b90;
$custom-light: #885fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#501b90",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 267.179,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3776,
    "c": 0.17512,
    "h": 297.6
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#501B90
secondary
#89BF48
accent
#EB3D9C
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501B90

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

Preview Lab → · Contrast checker → · Palette generator →

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