#501970#501970

#501970 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.143 H 309.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#501970
RGBrgb(80, 25, 112)
HSLhsl(278, 64%, 27%)
HSVhsv(278, 78%, 44%)
CMYKcmyk(28.6%, 77.7%, 0%, 56.1%)
CIE-LABlab(22.20, 40.66, -38.95)
CIE-LCHlch(22.20, 56.30, 316.23°)
OKLaboklab(34.75% 0.0915 -0.1104)
OKLCHoklch(34.75% 0.143 309.6)
XYZxyz(6.5799, 3.5707, 15.6687)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501970 #397019
analogous
#251970 #501970 #701965
triadic
#501970 #705019 #197050
tetradic
#501970 #702519 #397019 #196570
square
#501970 #702519 #397019 #196570
split-complementary
#501970 #657019 #197025
monochromatic
#120619 #2C0E3E #501970 #7424A2 #9732D1

Accessibility & contrast

On white

12.25
#501970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#501970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501970
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501970#FFFFFF#000000##FFFFFF
##5019701.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#03366E
Tritanopia (blue-blind)
#4B2D43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501970;
/* rgb */ color: rgb(80, 25, 112);
/* oklch */ color: oklch(34.7% 0.143 309.6);
Tailwind
colors: {
  custom: {
    50: '#855c9a',
    500: '#501970',
    950: '#000000',
  },
}
SCSS
$custom: #501970;
$custom-light: #855c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#501970",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 277.931,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34748,
    "c": 0.14338,
    "h": 309.6
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#501970
secondary
#65A540
accent
#E7417E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501970

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

Preview Lab → · Contrast checker → · Palette generator →

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