#501071#501071

#501071 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.154 H 310.2°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#501071
RGBrgb(80, 16, 113)
HSLhsl(280, 75%, 25%)
HSVhsv(280, 86%, 44%)
CMYKcmyk(29.2%, 85.8%, 0%, 55.7%)
CIE-LABlab(21.09, 44.33, -41.39)
CIE-LCHlch(21.09, 60.65, 316.96°)
OKLaboklab(33.99% 0.0993 -0.1175)
OKLCHoklch(33.99% 0.154 310.2)
XYZxyz(6.4736, 3.2685, 15.9094)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501071 #317110
analogous
#201071 #501071 #711061
triadic
#501071 #715010 #107150
tetradic
#501071 #712010 #317110 #106171
square
#501071 #712010 #317110 #106171
split-complementary
#501071 #617110 #107120
monochromatic
#13041B #2A083B #501071 #7618A7 #9C1FDC

Accessibility & contrast

On white

12.70
#501071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#501071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501071
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501071#FFFFFF#000000##FFFFFF
##5010711.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#4B2A42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501071;
/* rgb */ color: rgb(80, 16, 113);
/* oklch */ color: oklch(34.0% 0.154 310.2);
Tailwind
colors: {
  custom: {
    50: '#85589b',
    500: '#501071',
    950: '#000000',
  },
}
SCSS
$custom: #501071;
$custom-light: #85589b;
$custom-dark: #000000;
JSON
{
  "hex": "#501071",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 279.588,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33994,
    "c": 0.15388,
    "h": 310.2
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#501071
secondary
#5CA934
accent
#F23676
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501071

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

Preview Lab → · Contrast checker → · Palette generator →

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