#501B70#501B70

#501B70 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.141 H 309.4°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#501B70
RGBrgb(80, 27, 112)
HSLhsl(277, 61%, 27%)
HSVhsv(277, 76%, 44%)
CMYKcmyk(28.6%, 75.9%, 0%, 56.1%)
CIE-LABlab(22.51, 39.77, -38.44)
CIE-LCHlch(22.51, 55.31, 315.97°)
OKLaboklab(34.97% 0.0894 -0.1089)
OKLCHoklch(34.97% 0.141 309.4)
XYZxyz(6.6242, 3.6593, 15.6834)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B70 #3B701B
analogous
#261B70 #501B70 #701B65
triadic
#501B70 #70501B #1B7050
tetradic
#501B70 #70261B #3B701B #1B6570
square
#501B70 #70261B #3B701B #1B6570
split-complementary
#501B70 #65701B #1B7026
monochromatic
#120619 #2D0F3F #501B70 #7327A1 #9537CF

Accessibility & contrast

On white

12.13
#501B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#501B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B70
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B70#FFFFFF#000000##FFFFFF
##501B701.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#06366E
Tritanopia (blue-blind)
#4B2E44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501b70;
/* rgb */ color: rgb(80, 27, 112);
/* oklch */ color: oklch(35.0% 0.141 309.4);
Tailwind
colors: {
  custom: {
    50: '#855d9a',
    500: '#501b70',
    950: '#000000',
  },
}
SCSS
$custom: #501b70;
$custom-light: #855d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#501b70",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 277.412,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3497,
    "c": 0.14089,
    "h": 309.4
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#501B70
secondary
#67A542
accent
#E44480
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501B70

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

Preview Lab → · Contrast checker → · Palette generator →

#501B70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva