#501F92#501F92

#501F92 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.173 H 296.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#501F92
RGBrgb(80, 31, 146)
HSLhsl(266, 65%, 35%)
HSVhsv(266, 79%, 57%)
CMYKcmyk(45.2%, 78.8%, 0%, 42.7%)
CIE-LABlab(26.04, 46.56, -54.14)
CIE-LCHlch(26.04, 71.41, 310.69°)
OKLaboklab(38.36% 0.0774 -0.1551)
OKLCHoklch(38.36% 0.173 296.5)
XYZxyz(8.9852, 4.7606, 27.6340)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F92 #61921F
analogous
#1F2892 #501F92 #8A1F92
triadic
#501F92 #92501F #1F9250
tetradic
#501F92 #921F28 #61921F #1F928A
square
#501F92 #921F28 #61921F #1F928A
split-complementary
#501F92 #928A1F #28921F
monochromatic
#190A2D #341460 #501F92 #6C2AC4 #8C51DA

Accessibility & contrast

On white

10.76
#501F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#501F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F92
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F92#FFFFFF#000000##FFFFFF
##501F921.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#3E3E58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #501f92;
/* rgb */ color: rgb(80, 31, 146);
/* oklch */ color: oklch(38.4% 0.173 296.5);
Tailwind
colors: {
  custom: {
    50: '#8861b3',
    500: '#501f92',
    950: '#000000',
  },
}
SCSS
$custom: #501f92;
$custom-light: #8861b3;
$custom-dark: #000000;
JSON
{
  "hex": "#501f92",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 265.565,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38356,
    "c": 0.17333,
    "h": 296.5
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#501F92
secondary
#8FBD50
accent
#E840A0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501F92

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

Preview Lab → · Contrast checker → · Palette generator →

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