#501BB4#501BB4

#501BB4 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.3% C 0.213 H 288.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#501BB4
RGBrgb(80, 27, 180)
HSLhsl(261, 74%, 41%)
HSVhsv(261, 85%, 71%)
CMYKcmyk(55.6%, 85%, 0%, 29.4%)
CIE-LABlab(28.86, 57.02, -70.13)
CIE-LCHlch(28.86, 90.39, 309.11°)
OKLaboklab(41.32% 0.0683 -0.2018)
OKLCHoklch(41.32% 0.213 288.7)
XYZxyz(11.9360, 5.7840, 43.6587)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501BB4 #7FB41B
analogous
#1B33B4 #501BB4 #9C1BB4
triadic
#501BB4 #B4501B #1BB450
tetradic
#501BB4 #B41B33 #7FB41B #1BB49C
square
#501BB4 #B41B33 #7FB41B #1BB49C
split-complementary
#501BB4 #B49C1B #33B41B
monochromatic
#210B4A #38137F #501BB4 #6B2DDF #9062E7

Accessibility & contrast

On white

9.74
#501BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#501BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501BB4
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501BB4#FFFFFF#000000##FFFFFF
##501BB41.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#254B6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #501bb4;
/* rgb */ color: rgb(80, 27, 180);
/* oklch */ color: oklch(41.3% 0.213 288.7);
Tailwind
colors: {
  custom: {
    50: '#8d61cc',
    500: '#501bb4',
    950: '#000000',
  },
}
SCSS
$custom: #501bb4;
$custom-light: #8d61cc;
$custom-dark: #000000;
JSON
{
  "hex": "#501bb4",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 260.784,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41317,
    "c": 0.21309,
    "h": 288.7
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#501BB4
secondary
#A6CC5F
accent
#F137B0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0514
muted
#7E7A82

Preview Lab

Preview with #501BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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