#501470#501470

#501470 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.149 H 310.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#501470
RGBrgb(80, 20, 112)
HSLhsl(279, 70%, 26%)
HSVhsv(279, 82%, 44%)
CMYKcmyk(28.6%, 82.1%, 0%, 56.1%)
CIE-LABlab(21.49, 42.69, -40.10)
CIE-LCHlch(21.49, 58.57, 316.80°)
OKLaboklab(34.25% 0.0963 -0.1137)
OKLCHoklch(34.25% 0.149 310.2)
XYZxyz(6.4825, 3.3758, 15.6362)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501470 #347014
analogous
#221470 #501470 #701462
triadic
#501470 #705014 #147050
tetradic
#501470 #702214 #347014 #146270
square
#501470 #702214 #347014 #146270
split-complementary
#501470 #627014 #147022
monochromatic
#13051A #2B0B3C #501470 #751DA4 #9A27D8

Accessibility & contrast

On white

12.54
#501470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501470
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501470#FFFFFF#000000##FFFFFF
##5014701.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501470;
/* rgb */ color: rgb(80, 20, 112);
/* oklch */ color: oklch(34.2% 0.149 310.2);
Tailwind
colors: {
  custom: {
    50: '#855a9a',
    500: '#501470',
    950: '#000000',
  },
}
SCSS
$custom: #501470;
$custom-light: #855a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#501470",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 279.13,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34249,
    "c": 0.14902,
    "h": 310.2
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#501470
secondary
#5FA639
accent
#ED3B79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501470

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

Preview Lab → · Contrast checker → · Palette generator →

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