#501996#501996

#501996 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.183 H 296.1°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#501996
RGBrgb(80, 25, 150)
HSLhsl(266, 71%, 34%)
HSVhsv(266, 83%, 59%)
CMYKcmyk(46.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(25.57, 50.05, -57.38)
CIE-LCHlch(25.57, 76.14, 311.10°)
OKLaboklab(38.14% 0.0807 -0.1645)
OKLCHoklch(38.14% 0.183 296.1)
XYZxyz(9.1594, 4.6025, 29.2540)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501996 #5F9619
analogous
#192096 #501996 #8F1996
triadic
#501996 #965019 #199650
tetradic
#501996 #961920 #5F9619 #19968F
square
#501996 #961920 #5F9619 #19968F
split-complementary
#501996 #968F19 #209619
monochromatic
#18082D #341062 #501996 #6C22CA #8C49E1

Accessibility & contrast

On white

10.93
#501996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#501996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501996
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501996#FFFFFF#000000##FFFFFF
##5019961.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#3C3E59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #501996;
/* rgb */ color: rgb(80, 25, 150);
/* oklch */ color: oklch(38.1% 0.183 296.1);
Tailwind
colors: {
  custom: {
    50: '#895eb6',
    500: '#501996',
    950: '#000000',
  },
}
SCSS
$custom: #501996;
$custom-light: #895eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#501996",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 266.4,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38144,
    "c": 0.18325,
    "h": 296.1
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#501996
secondary
#8DC249
accent
#EE3A9F
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501996

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

Preview Lab → · Contrast checker → · Palette generator →

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