#501DC2#501DC2

#501DC2 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.9% C 0.226 H 285.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#501DC2
RGBrgb(80, 29, 194)
HSLhsl(259, 74%, 44%)
HSVhsv(259, 85%, 76%)
CMYKcmyk(58.8%, 85.1%, 0%, 23.9%)
CIE-LABlab(30.59, 59.95, -75.57)
CIE-LCHlch(30.59, 96.46, 308.42°)
OKLaboklab(42.94% 0.062 -0.2177)
OKLCHoklch(42.94% 0.226 285.9)
XYZxyz(13.4823, 6.4784, 51.5685)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501DC2 #8FC21D
analogous
#1D3DC2 #501DC2 #A21DC2
triadic
#501DC2 #C2501D #1DC250
tetradic
#501DC2 #C21D3D #8FC21D #1DC2A2
square
#501DC2 #C21D3D #8FC21D #1DC2A2
split-complementary
#501DC2 #C2A21D #3DC21D
monochromatic
#240D58 #3A158D #501DC2 #6E3BE2 #9570EA

Accessibility & contrast

On white

9.15
#501DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#501DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501DC2
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501DC2#FFFFFF#000000##FFFFFF
##501DC21.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC6
Deuteranopia (green-blind)
#0043BF
Tritanopia (blue-blind)
#0B5273
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #501dc2;
/* rgb */ color: rgb(80, 29, 194);
/* oklch */ color: oklch(42.9% 0.226 285.9);
Tailwind
colors: {
  custom: {
    50: '#8f63d6',
    500: '#501dc2',
    950: '#000000',
  },
}
SCSS
$custom: #501dc2;
$custom-light: #8f63d6;
$custom-dark: #000000;
JSON
{
  "hex": "#501dc2",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 194
  },
  "hsl": {
    "h": 258.545,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42938,
    "c": 0.22638,
    "h": 285.9
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#501DC2
secondary
#B1D06B
accent
#F137B7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #501DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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