#501F70#501F70

#501F70 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.136 H 308.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#501F70
RGBrgb(80, 31, 112)
HSLhsl(276, 57%, 28%)
HSVhsv(276, 72%, 44%)
CMYKcmyk(28.6%, 72.3%, 0%, 56.1%)
CIE-LABlab(23.19, 37.86, -37.35)
CIE-LCHlch(23.19, 53.18, 315.39°)
OKLaboklab(35.45% 0.0848 -0.1057)
OKLCHoklch(35.45% 0.136 308.7)
XYZxyz(6.7223, 3.8554, 15.7161)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F70 #3F701F
analogous
#271F70 #501F70 #701F67
triadic
#501F70 #70501F #1F7050
tetradic
#501F70 #70271F #3F701F #1F6770
square
#501F70 #70271F #3F701F #1F6770
split-complementary
#501F70 #67701F #1F7027
monochromatic
#110718 #2E1240 #501F70 #722CA0 #933FCA

Accessibility & contrast

On white

11.86
#501F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#501F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F70
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F70#FFFFFF#000000##FFFFFF
##501F701.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#0E386E
Tritanopia (blue-blind)
#4B3145
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #501f70;
/* rgb */ color: rgb(80, 31, 112);
/* oklch */ color: oklch(35.5% 0.136 308.7);
Tailwind
colors: {
  custom: {
    50: '#845f9a',
    500: '#501f70',
    950: '#000000',
  },
}
SCSS
$custom: #501f70;
$custom-light: #845f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#501f70",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 276.296,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35451,
    "c": 0.13558,
    "h": 308.7
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#501F70
secondary
#6CA447
accent
#E04884
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501F70

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

Preview Lab → · Contrast checker → · Palette generator →

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