#501FA1#501FA1

#501FA1 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.190 H 292.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#501FA1
RGBrgb(80, 31, 161)
HSLhsl(263, 68%, 38%)
HSVhsv(263, 81%, 63%)
CMYKcmyk(50.3%, 80.7%, 0%, 36.9%)
CIE-LABlab(27.46, 50.51, -61.01)
CIE-LCHlch(27.46, 79.21, 309.63°)
OKLaboklab(39.77% 0.0727 -0.1752)
OKLCHoklch(39.77% 0.19 292.5)
XYZxyz(10.2295, 5.2583, 34.1873)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501FA1 #70A11F
analogous
#1F2FA1 #501FA1 #911FA1
triadic
#501FA1 #A1501F #1FA150
tetradic
#501FA1 #A11F2F #70A11F #1FA191
square
#501FA1 #A11F2F #70A11F #1FA191
split-complementary
#501FA1 #A1911F #2FA11F
monochromatic
#1D0B3A #36156E #501FA1 #6929D4 #8D5BDF

Accessibility & contrast

On white

10.23
#501FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#501FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501FA1
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501FA1#FFFFFF#000000##FFFFFF
##501FA11.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#354560
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #501fa1;
/* rgb */ color: rgb(80, 31, 161);
/* oklch */ color: oklch(39.8% 0.190 292.5);
Tailwind
colors: {
  custom: {
    50: '#8a62be',
    500: '#501fa1',
    950: '#000000',
  },
}
SCSS
$custom: #501fa1;
$custom-light: #8a62be;
$custom-dark: #000000;
JSON
{
  "hex": "#501fa1",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 262.615,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39774,
    "c": 0.18971,
    "h": 292.5
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#501FA1
secondary
#9BC458
accent
#EB3DA9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #501FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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