#501769#501769

#501769 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.139 H 313.2°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#501769
RGBrgb(80, 23, 105)
HSLhsl(282, 64%, 25%)
HSVhsv(282, 78%, 41%)
CMYKcmyk(23.8%, 78.1%, 0%, 58.8%)
CIE-LABlab(21.35, 39.89, -35.78)
CIE-LCHlch(21.35, 53.58, 318.11°)
OKLaboklab(33.98% 0.0948 -0.1011)
OKLCHoklch(33.98% 0.139 313.2)
XYZxyz(6.1640, 3.3384, 13.6815)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501769 #306917
analogous
#271769 #501769 #691759
triadic
#501769 #695017 #176950
tetradic
#501769 #692717 #306917 #175969
square
#501769 #692717 #306917 #175969
split-complementary
#501769 #596917 #176927
monochromatic
#130519 #2A0C37 #501769 #76229B #9C2DCD

Accessibility & contrast

On white

12.59
#501769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#501769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501769
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501769#FFFFFF#000000##FFFFFF
##5017691.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#0F3467
Tritanopia (blue-blind)
#4D293F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501769;
/* rgb */ color: rgb(80, 23, 105);
/* oklch */ color: oklch(34.0% 0.139 313.2);
Tailwind
colors: {
  custom: {
    50: '#845b94',
    500: '#501769',
    950: '#000000',
  },
}
SCSS
$custom: #501769;
$custom-light: #845b94;
$custom-dark: #000000;
JSON
{
  "hex": "#501769",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 281.707,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33976,
    "c": 0.13856,
    "h": 313.2
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#501769
secondary
#5B9F3D
accent
#E74173
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501769

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

Preview Lab → · Contrast checker → · Palette generator →

#501769 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva