#501FA6#501FA6

#501FA6 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.3% C 0.195 H 291.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#501FA6
RGBrgb(80, 31, 166)
HSLhsl(262, 69%, 39%)
HSVhsv(262, 81%, 65%)
CMYKcmyk(51.8%, 81.3%, 0%, 34.9%)
CIE-LABlab(27.95, 51.84, -63.23)
CIE-LCHlch(27.95, 81.76, 309.34°)
OKLaboklab(40.26% 0.0711 -0.1817)
OKLCHoklch(40.26% 0.195 291.4)
XYZxyz(10.6792, 5.4382, 36.5560)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501FA6 #75A61F
analogous
#1F31A6 #501FA6 #931FA6
triadic
#501FA6 #A6501F #1FA650
tetradic
#501FA6 #A61F31 #75A61F #1FA693
square
#501FA6 #A61F31 #75A61F #1FA693
split-complementary
#501FA6 #A6931F #31A61F
monochromatic
#1E0C3F #371572 #501FA6 #692BD7 #8E5EE1

Accessibility & contrast

On white

10.06
#501FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#501FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501FA6
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501FA6#FFFFFF#000000##FFFFFF
##501FA61.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#324763
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #501fa6;
/* rgb */ color: rgb(80, 31, 166);
/* oklch */ color: oklch(40.3% 0.195 291.4);
Tailwind
colors: {
  custom: {
    50: '#8b62c2',
    500: '#501fa6',
    950: '#000000',
  },
}
SCSS
$custom: #501fa6;
$custom-light: #8b62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#501fa6",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 261.778,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40262,
    "c": 0.19512,
    "h": 291.4
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#501FA6
secondary
#9FC55B
accent
#EB3CAC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #501FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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