#501380#501380

#501380 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.166 H 303.9°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#501380
RGBrgb(80, 19, 128)
HSLhsl(274, 74%, 29%)
HSVhsv(274, 85%, 50%)
CMYKcmyk(37.5%, 85.2%, 0%, 49.8%)
CIE-LABlab(22.76, 46.80, -48.26)
CIE-LCHlch(22.76, 67.23, 314.12°)
OKLaboklab(35.56% 0.0925 -0.1377)
OKLCHoklch(35.56% 0.166 303.9)
XYZxyz(7.4365, 3.7297, 20.7460)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501380 #438013
analogous
#1A1380 #501380 #80137A
triadic
#501380 #805013 #138050
tetradic
#501380 #801A13 #438013 #137A80
square
#501380 #801A13 #438013 #137A80
split-complementary
#501380 #7A8013 #13801A
monochromatic
#11041B #2F0B4B #501380 #711BB5 #912DE0

Accessibility & contrast

On white

12.03
#501380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#501380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501380
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501380#FFFFFF#000000##FFFFFF
##5013801.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501380;
/* rgb */ color: rgb(80, 19, 128);
/* oklch */ color: oklch(35.6% 0.166 303.9);
Tailwind
colors: {
  custom: {
    50: '#875aa6',
    500: '#501380',
    950: '#000000',
  },
}
SCSS
$custom: #501380;
$custom-light: #875aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#501380",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 273.578,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35564,
    "c": 0.16591,
    "h": 303.9
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#501380
secondary
#70B539
accent
#F13789
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501380

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

Preview Lab → · Contrast checker → · Palette generator →

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