#501BBB#501BBB

#501BBB is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 42.0% C 0.220 H 287.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#501BBB
RGBrgb(80, 27, 187)
HSLhsl(260, 75%, 42%)
HSVhsv(260, 86%, 73%)
CMYKcmyk(57.2%, 85.6%, 0%, 26.7%)
CIE-LABlab(29.60, 58.83, -73.07)
CIE-LCHlch(29.60, 93.80, 308.84°)
OKLaboklab(42.05% 0.0656 -0.2104)
OKLCHoklch(42.05% 0.22 287.3)
XYZxyz(12.6672, 6.0765, 47.5095)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501BBB #86BB1B
analogous
#1B36BB #501BBB #A01BBB
triadic
#501BBB #BB501B #1BBB50
tetradic
#501BBB #BB1B36 #86BB1B #1BBBA0
square
#501BBB #BB1B36 #86BB1B #1BBBA0
split-complementary
#501BBB #BBA01B #36BB1B
monochromatic
#220C50 #391386 #501BBB #6C32E1 #9267E9

Accessibility & contrast

On white

9.48
#501BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#501BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501BBB
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501BBB#FFFFFF#000000##FFFFFF
##501BBB1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#0041B8
Tritanopia (blue-blind)
#1B4F6F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #501bbb;
/* rgb */ color: rgb(80, 27, 187);
/* oklch */ color: oklch(42.0% 0.220 287.3);
Tailwind
colors: {
  custom: {
    50: '#8e62d1',
    500: '#501bbb',
    950: '#000000',
  },
}
SCSS
$custom: #501bbb;
$custom-light: #8e62d1;
$custom-dark: #000000;
JSON
{
  "hex": "#501bbb",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 187
  },
  "hsl": {
    "h": 259.875,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42045,
    "c": 0.22038,
    "h": 287.3
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#501BBB
secondary
#ABCE63
accent
#F136B3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #501BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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