#501689#501689

#501689 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.172 H 300.4°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#501689
RGBrgb(80, 22, 137)
HSLhsl(270, 72%, 31%)
HSVhsv(270, 84%, 54%)
CMYKcmyk(41.6%, 83.9%, 0%, 46.3%)
CIE-LABlab(23.95, 47.91, -51.97)
CIE-LCHlch(23.95, 70.68, 312.67°)
OKLaboklab(36.65% 0.0873 -0.1486)
OKLCHoklch(36.65% 0.172 300.4)
XYZxyz(8.1094, 4.0854, 24.0234)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501689 #4F8916
analogous
#161689 #501689 #891688
triadic
#501689 #895016 #168950
tetradic
#501689 #891616 #4F8916 #168889
square
#501689 #891616 #4F8916 #168889
split-complementary
#501689 #888916 #168916
monochromatic
#120520 #310E54 #501689 #6F1EBE #8D3ADF

Accessibility & contrast

On white

11.56
#501689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#501689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501689
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501689#FFFFFF#000000##FFFFFF
##5016891.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#433751
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #501689;
/* rgb */ color: rgb(80, 22, 137);
/* oklch */ color: oklch(36.6% 0.172 300.4);
Tailwind
colors: {
  custom: {
    50: '#875cac',
    500: '#501689',
    950: '#000000',
  },
}
SCSS
$custom: #501689;
$custom-light: #875cac;
$custom-dark: #000000;
JSON
{
  "hex": "#501689",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 270.261,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36647,
    "c": 0.17239,
    "h": 300.4
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#501689
secondary
#7DBD3E
accent
#EF3993
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #501689

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

Preview Lab → · Contrast checker → · Palette generator →

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