#501570#501570

#501570 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.148 H 310.1°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#501570
RGBrgb(80, 21, 112)
HSLhsl(279, 68%, 26%)
HSVhsv(279, 81%, 44%)
CMYKcmyk(28.6%, 81.2%, 0%, 56.1%)
CIE-LABlab(21.62, 42.31, -39.88)
CIE-LCHlch(21.62, 58.14, 316.69°)
OKLaboklab(34.34% 0.0954 -0.1131)
OKLCHoklch(34.34% 0.148 310.1)
XYZxyz(6.5005, 3.4118, 15.6422)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501570 #357015
analogous
#221570 #501570 #701562
triadic
#501570 #705015 #157050
tetradic
#501570 #702215 #357015 #156270
square
#501570 #702215 #357015 #156270
split-complementary
#501570 #627015 #157022
monochromatic
#12051A #2B0B3C #501570 #751FA4 #9A29D7

Accessibility & contrast

On white

12.48
#501570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#501570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501570
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501570#FFFFFF#000000##FFFFFF
##5015701.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501570;
/* rgb */ color: rgb(80, 21, 112);
/* oklch */ color: oklch(34.3% 0.148 310.1);
Tailwind
colors: {
  custom: {
    50: '#855a9a',
    500: '#501570',
    950: '#000000',
  },
}
SCSS
$custom: #501570;
$custom-light: #855a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#501570",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 278.901,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34342,
    "c": 0.14796,
    "h": 310.1
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#501570
secondary
#60A63B
accent
#EB3D7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501570

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

Preview Lab → · Contrast checker → · Palette generator →

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