#501FA8#501FA8

#501FA8 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.197 H 290.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#501FA8
RGBrgb(80, 31, 168)
HSLhsl(261, 69%, 39%)
HSVhsv(261, 82%, 66%)
CMYKcmyk(52.4%, 81.5%, 0%, 34.1%)
CIE-LABlab(28.15, 52.37, -64.11)
CIE-LCHlch(28.15, 82.78, 309.24°)
OKLaboklab(40.46% 0.0704 -0.1843)
OKLCHoklch(40.46% 0.197 290.9)
XYZxyz(10.8641, 5.5121, 37.5297)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501FA8 #77A81F
analogous
#1F33A8 #501FA8 #951FA8
triadic
#501FA8 #A8501F #1FA850
tetradic
#501FA8 #A81F33 #77A81F #1FA895
square
#501FA8 #A81F33 #77A81F #1FA895
split-complementary
#501FA8 #A8951F #33A81F
monochromatic
#1F0C41 #371574 #501FA8 #6A2CD8 #8E60E2

Accessibility & contrast

On white

9.99
#501FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#501FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501FA8
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501FA8#FFFFFF#000000##FFFFFF
##501FA81.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#304865
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #501fa8;
/* rgb */ color: rgb(80, 31, 168);
/* oklch */ color: oklch(40.5% 0.197 290.9);
Tailwind
colors: {
  custom: {
    50: '#8b62c3',
    500: '#501fa8',
    950: '#000000',
  },
}
SCSS
$custom: #501fa8;
$custom-light: #8b62c3;
$custom-dark: #000000;
JSON
{
  "hex": "#501fa8",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 261.46,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40458,
    "c": 0.19728,
    "h": 290.9
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#501FA8
secondary
#A0C65D
accent
#EC3CAD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #501FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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