#501F6F#501F6F

#501F6F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.134 H 309.2°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#501F6F
RGBrgb(80, 31, 111)
HSLhsl(277, 56%, 28%)
HSVhsv(277, 72%, 44%)
CMYKcmyk(27.9%, 72.1%, 0%, 56.5%)
CIE-LABlab(23.11, 37.62, -36.82)
CIE-LCHlch(23.11, 52.64, 315.61°)
OKLaboklab(35.37% 0.085 -0.1042)
OKLCHoklch(35.37% 0.134 309.2)
XYZxyz(6.6669, 3.8333, 15.4245)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F6F #3E6F1F
analogous
#281F6F #501F6F #6F1F66
triadic
#501F6F #6F501F #1F6F50
tetradic
#501F6F #6F281F #3E6F1F #1F666F
square
#501F6F #6F281F #3E6F1F #1F666F
split-complementary
#501F6F #666F1F #1F6F28
monochromatic
#110718 #2E123F #501F6F #722C9F #943FC9

Accessibility & contrast

On white

11.89
#501F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501F6F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F6F#FFFFFF#000000##FFFFFF
##501F6F1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#10386D
Tritanopia (blue-blind)
#4B3044
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #501f6f;
/* rgb */ color: rgb(80, 31, 111);
/* oklch */ color: oklch(35.4% 0.134 309.2);
Tailwind
colors: {
  custom: {
    50: '#845f99',
    500: '#501f6f',
    950: '#000000',
  },
}
SCSS
$custom: #501f6f;
$custom-light: #845f99;
$custom-dark: #000000;
JSON
{
  "hex": "#501f6f",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 276.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35373,
    "c": 0.13446,
    "h": 309.2
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#501F6F
secondary
#6BA347
accent
#E04883
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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