#501883#501883

#501883 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.164 H 302.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#501883
RGBrgb(80, 24, 131)
HSLhsl(271, 69%, 30%)
HSVhsv(271, 82%, 51%)
CMYKcmyk(38.9%, 81.7%, 0%, 48.6%)
CIE-LABlab(23.66, 45.67, -48.68)
CIE-LCHlch(23.66, 66.75, 313.18°)
OKLaboklab(36.28% 0.0877 -0.139)
OKLCHoklch(36.28% 0.164 302.2)
XYZxyz(7.7306, 3.9974, 21.8326)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501883 #4B8318
analogous
#1B1883 #501883 #831880
triadic
#501883 #835018 #188350
tetradic
#501883 #831B18 #4B8318 #188083
square
#501883 #831B18 #4B8318 #188083
split-complementary
#501883 #808318 #18831B
monochromatic
#11051C #300F4F #501883 #7021B7 #8E3ADB

Accessibility & contrast

On white

11.67
#501883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#501883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501883
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501883#FFFFFF#000000##FFFFFF
##5018831.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#45354E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #501883;
/* rgb */ color: rgb(80, 24, 131);
/* oklch */ color: oklch(36.3% 0.164 302.2);
Tailwind
colors: {
  custom: {
    50: '#875ca8',
    500: '#501883',
    950: '#000000',
  },
}
SCSS
$custom: #501883;
$custom-light: #875ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#501883",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 271.402,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36277,
    "c": 0.16434,
    "h": 302.2
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#501883
secondary
#79B740
accent
#EC3C90
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #501883

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

Preview Lab → · Contrast checker → · Palette generator →

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