#501180#501180

#501180 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.168 H 304.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#501180
RGBrgb(80, 17, 128)
HSLhsl(274, 77%, 28%)
HSVhsv(274, 87%, 50%)
CMYKcmyk(37.5%, 86.7%, 0%, 49.8%)
CIE-LABlab(22.53, 47.46, -48.63)
CIE-LCHlch(22.53, 67.95, 314.30°)
OKLaboklab(35.41% 0.0939 -0.1388)
OKLCHoklch(35.41% 0.168 304.1)
XYZxyz(7.4041, 3.6649, 20.7352)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501180 #418011
analogous
#181180 #501180 #801178
triadic
#501180 #805011 #118050
tetradic
#501180 #801811 #418011 #117880
square
#501180 #801811 #418011 #117880
split-complementary
#501180 #788011 #118018
monochromatic
#11041B #2E0A4A #501180 #7218B6 #9229E3

Accessibility & contrast

On white

12.12
#501180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#501180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501180
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501180#FFFFFF#000000##FFFFFF
##5011801.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#46314B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501180;
/* rgb */ color: rgb(80, 17, 128);
/* oklch */ color: oklch(35.4% 0.168 304.1);
Tailwind
colors: {
  custom: {
    50: '#8759a6',
    500: '#501180',
    950: '#000000',
  },
}
SCSS
$custom: #501180;
$custom-light: #8759a6;
$custom-dark: #000000;
JSON
{
  "hex": "#501180",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 274.054,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35408,
    "c": 0.16758,
    "h": 304.1
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#501180
secondary
#6EB637
accent
#F33587
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501180

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

Preview Lab → · Contrast checker → · Palette generator →

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