#501699#501699

#501699 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.189 H 295.6°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#501699
RGBrgb(80, 22, 153)
HSLhsl(267, 75%, 34%)
HSVhsv(267, 86%, 60%)
CMYKcmyk(47.7%, 85.6%, 0%, 40%)
CIE-LABlab(25.50, 51.88, -59.34)
CIE-LCHlch(25.50, 78.82, 311.16°)
OKLaboklab(38.18% 0.0815 -0.1702)
OKLCHoklch(38.18% 0.189 295.6)
XYZxyz(9.3434, 4.5789, 30.5224)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501699 #5F9916
analogous
#161E99 #501699 #921699
triadic
#501699 #995016 #169950
tetradic
#501699 #99161E #5F9916 #169992
square
#501699 #99161E #5F9916 #169992
split-complementary
#501699 #999216 #1E9916
monochromatic
#18072E #340E63 #501699 #6C1ECF #8C45E4

Accessibility & contrast

On white

10.96
#501699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501699
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501699#FFFFFF#000000##FFFFFF
##5016991.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#3B3E5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #501699;
/* rgb */ color: rgb(80, 22, 153);
/* oklch */ color: oklch(38.2% 0.189 295.6);
Tailwind
colors: {
  custom: {
    50: '#895db8',
    500: '#501699',
    950: '#000000',
  },
}
SCSS
$custom: #501699;
$custom-light: #895db8;
$custom-dark: #000000;
JSON
{
  "hex": "#501699",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 266.565,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38184,
    "c": 0.18875,
    "h": 295.6
  },
  "luminance": 0.04579
}

Semantic roles & 50–950 ramp

primary
#501699
secondary
#8DC546
accent
#F1369F
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #501699

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

Preview Lab → · Contrast checker → · Palette generator →

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