#501CB4#501CB4

#501CB4 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.4% C 0.212 H 288.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#501CB4
RGBrgb(80, 28, 180)
HSLhsl(261, 73%, 41%)
HSVhsv(261, 84%, 71%)
CMYKcmyk(55.6%, 84.4%, 0%, 29.4%)
CIE-LABlab(28.98, 56.66, -69.93)
CIE-LCHlch(28.98, 90.01, 309.02°)
OKLaboklab(41.4% 0.0678 -0.2013)
OKLCHoklch(41.4% 0.212 288.6)
XYZxyz(11.9593, 5.8307, 43.6664)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501CB4 #80B41C
analogous
#1C34B4 #501CB4 #9C1CB4
triadic
#501CB4 #B4501C #1CB450
tetradic
#501CB4 #B41C34 #80B41C #1CB49C
square
#501CB4 #B41C34 #80B41C #1CB49C
split-complementary
#501CB4 #B49C1C #34B41C
monochromatic
#210C4A #38147F #501CB4 #6B2FDF #9064E7

Accessibility & contrast

On white

9.69
#501CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#501CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501CB4
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501CB4#FFFFFF#000000##FFFFFF
##501CB41.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501cb4;
/* rgb */ color: rgb(80, 28, 180);
/* oklch */ color: oklch(41.4% 0.212 288.6);
Tailwind
colors: {
  custom: {
    50: '#8d61cc',
    500: '#501cb4',
    950: '#000000',
  },
}
SCSS
$custom: #501cb4;
$custom-light: #8d61cc;
$custom-dark: #000000;
JSON
{
  "hex": "#501cb4",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 260.526,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41399,
    "c": 0.21239,
    "h": 288.6
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#501CB4
secondary
#A7CC60
accent
#F038B1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #501CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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