#501BA0#501BA0

#501BA0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.192 H 293.2°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#501BA0
RGBrgb(80, 27, 160)
HSLhsl(264, 71%, 37%)
HSVhsv(264, 83%, 63%)
CMYKcmyk(50%, 83.1%, 0%, 37.3%)
CIE-LABlab(26.81, 51.85, -61.46)
CIE-LCHlch(26.81, 80.41, 310.15°)
OKLaboklab(39.3% 0.0758 -0.1765)
OKLCHoklch(39.3% 0.192 293.2)
XYZxyz(10.0436, 5.0271, 33.6920)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501BA0 #6BA01B
analogous
#1B28A0 #501BA0 #931BA0
triadic
#501BA0 #A0501B #1BA050
tetradic
#501BA0 #A01B28 #6BA01B #1BA093
square
#501BA0 #A01B28 #6BA01B #1BA093
split-complementary
#501BA0 #A0931B #28A01B
monochromatic
#1C0937 #36126C #501BA0 #6A24D4 #8C53E2

Accessibility & contrast

On white

10.47
#501BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#501BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501BA0
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501BA0#FFFFFF#000000##FFFFFF
##501BA01.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#36435F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #501ba0;
/* rgb */ color: rgb(80, 27, 160);
/* oklch */ color: oklch(39.3% 0.192 293.2);
Tailwind
colors: {
  custom: {
    50: '#8a60bd',
    500: '#501ba0',
    950: '#000000',
  },
}
SCSS
$custom: #501ba0;
$custom-light: #8a60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#501ba0",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 263.91,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39297,
    "c": 0.19208,
    "h": 293.2
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#501BA0
secondary
#97C552
accent
#EE3AA6
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #501BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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