#501F75#501F75

#501F75 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.141 H 306.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#501F75
RGBrgb(80, 31, 117)
HSLhsl(274, 58%, 29%)
HSVhsv(274, 74%, 46%)
CMYKcmyk(31.6%, 73.5%, 0%, 54.1%)
CIE-LABlab(23.57, 39.10, -39.94)
CIE-LCHlch(23.57, 55.89, 314.39°)
OKLaboklab(35.85% 0.0841 -0.1134)
OKLCHoklch(35.85% 0.141 306.6)
XYZxyz(7.0084, 3.9699, 17.2232)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F75 #44751F
analogous
#251F75 #501F75 #751F6F
triadic
#501F75 #75501F #1F7550
tetradic
#501F75 #75251F #44751F #1F6F75
square
#501F75 #75251F #44751F #1F6F75
split-complementary
#501F75 #6F751F #1F7525
monochromatic
#110618 #2F1245 #501F75 #712CA5 #9142CD

Accessibility & contrast

On white

11.71
#501F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#501F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F75
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F75#FFFFFF#000000##FFFFFF
##501F751.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#023873
Tritanopia (blue-blind)
#4A3348
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #501f75;
/* rgb */ color: rgb(80, 31, 117);
/* oklch */ color: oklch(35.8% 0.141 306.6);
Tailwind
colors: {
  custom: {
    50: '#855f9d',
    500: '#501f75',
    950: '#000000',
  },
}
SCSS
$custom: #501f75;
$custom-light: #855f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#501f75",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 274.186,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35846,
    "c": 0.14116,
    "h": 306.6
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#501F75
secondary
#71A947
accent
#E14689
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501F75

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

Preview Lab → · Contrast checker → · Palette generator →

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