#501670#501670

#501670 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.147 H 310.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#501670
RGBrgb(80, 22, 112)
HSLhsl(279, 67%, 26%)
HSVhsv(279, 80%, 44%)
CMYKcmyk(28.6%, 80.4%, 0%, 56.1%)
CIE-LABlab(21.76, 41.91, -39.66)
CIE-LCHlch(21.76, 57.70, 316.58°)
OKLaboklab(34.44% 0.0944 -0.1125)
OKLCHoklch(34.44% 0.147 310)
XYZxyz(6.5192, 3.4493, 15.6484)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501670 #367016
analogous
#231670 #501670 #701663
triadic
#501670 #705016 #167050
tetradic
#501670 #702316 #367016 #166370
square
#501670 #702316 #367016 #166370
split-complementary
#501670 #637016 #167023
monochromatic
#12051A #2B0C3D #501670 #7520A3 #992BD5

Accessibility & contrast

On white

12.43
#501670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#501670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501670
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501670#FFFFFF#000000##FFFFFF
##5016701.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501670;
/* rgb */ color: rgb(80, 22, 112);
/* oklch */ color: oklch(34.4% 0.147 310.0);
Tailwind
colors: {
  custom: {
    50: '#855b9a',
    500: '#501670',
    950: '#000000',
  },
}
SCSS
$custom: #501670;
$custom-light: #855b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#501670",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 278.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34439,
    "c": 0.14686,
    "h": 310
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#501670
secondary
#62A63C
accent
#EA3E7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501670

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

Preview Lab → · Contrast checker → · Palette generator →

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