#501FA0#501FA0

#501FA0 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.189 H 292.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#501FA0
RGBrgb(80, 31, 160)
HSLhsl(263, 68%, 37%)
HSVhsv(263, 81%, 63%)
CMYKcmyk(50%, 80.6%, 0%, 37.3%)
CIE-LABlab(27.36, 50.25, -60.56)
CIE-LCHlch(27.36, 78.69, 309.68°)
OKLaboklab(39.68% 0.0731 -0.1739)
OKLCHoklch(39.68% 0.189 292.8)
XYZxyz(10.1416, 5.2232, 33.7247)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501FA0 #6FA01F
analogous
#1F2EA0 #501FA0 #911FA0
triadic
#501FA0 #A0501F #1FA050
tetradic
#501FA0 #A01F2E #6FA01F #1FA091
square
#501FA0 #A01F2E #6FA01F #1FA091
split-complementary
#501FA0 #A0911F #2EA01F
monochromatic
#1D0B39 #36156D #501FA0 #6A29D3 #8D5ADF

Accessibility & contrast

On white

10.27
#501FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#501FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501FA0
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501FA0#FFFFFF#000000##FFFFFF
##501FA01.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#364460
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #501fa0;
/* rgb */ color: rgb(80, 31, 160);
/* oklch */ color: oklch(39.7% 0.189 292.8);
Tailwind
colors: {
  custom: {
    50: '#8a61bd',
    500: '#501fa0',
    950: '#000000',
  },
}
SCSS
$custom: #501fa0;
$custom-light: #8a61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#501fa0",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 262.791,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39677,
    "c": 0.18861,
    "h": 292.8
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#501FA0
secondary
#9AC358
accent
#EA3DA9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #501FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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