#501370#501370

#501370 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.150 H 310.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#501370
RGBrgb(80, 19, 112)
HSLhsl(279, 71%, 26%)
HSVhsv(279, 83%, 44%)
CMYKcmyk(28.6%, 83%, 0%, 56.1%)
CIE-LABlab(21.36, 43.06, -40.30)
CIE-LCHlch(21.36, 58.98, 316.89°)
OKLaboklab(34.16% 0.0972 -0.1143)
OKLCHoklch(34.16% 0.15 310.4)
XYZxyz(6.4652, 3.3412, 15.6304)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501370 #337013
analogous
#221370 #501370 #701361
triadic
#501370 #705013 #137050
tetradic
#501370 #702213 #337013 #136170
square
#501370 #702213 #337013 #136170
split-complementary
#501370 #617013 #137022
monochromatic
#13041A #2B0A3C #501370 #751CA4 #9B25D9

Accessibility & contrast

On white

12.59
#501370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#501370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501370
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501370#FFFFFF#000000##FFFFFF
##5013701.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#4B2B42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501370;
/* rgb */ color: rgb(80, 19, 112);
/* oklch */ color: oklch(34.2% 0.150 310.4);
Tailwind
colors: {
  custom: {
    50: '#85599a',
    500: '#501370',
    950: '#000000',
  },
}
SCSS
$custom: #501370;
$custom-light: #85599a;
$custom-dark: #000000;
JSON
{
  "hex": "#501370",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 279.355,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34159,
    "c": 0.15005,
    "h": 310.4
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#501370
secondary
#5EA738
accent
#EE3A78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501370

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

Preview Lab → · Contrast checker → · Palette generator →

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