#501775#501775

#501775 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.151 H 307.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#501775
RGBrgb(80, 23, 117)
HSLhsl(276, 67%, 27%)
HSVhsv(276, 80%, 46%)
CMYKcmyk(31.6%, 80.3%, 0%, 54.1%)
CIE-LABlab(22.31, 42.68, -41.98)
CIE-LCHlch(22.31, 59.87, 315.48°)
OKLaboklab(34.96% 0.0924 -0.1193)
OKLCHoklch(34.96% 0.151 307.7)
XYZxyz(6.8249, 3.6027, 17.1620)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501775 #3C7517
analogous
#211775 #501775 #75176B
triadic
#501775 #755017 #177550
tetradic
#501775 #752117 #3C7517 #176B75
square
#501775 #752117 #3C7517 #176B75
split-complementary
#501775 #6B7517 #177521
monochromatic
#11051A #2D0D42 #501775 #7321A8 #9530D6

Accessibility & contrast

On white

12.21
#501775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#501775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501775
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501775#FFFFFF#000000##FFFFFF
##5017751.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#4A2F45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501775;
/* rgb */ color: rgb(80, 23, 117);
/* oklch */ color: oklch(35.0% 0.151 307.7);
Tailwind
colors: {
  custom: {
    50: '#855b9d',
    500: '#501775',
    950: '#000000',
  },
}
SCSS
$custom: #501775;
$custom-light: #855b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#501775",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 276.383,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34956,
    "c": 0.15088,
    "h": 307.7
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#501775
secondary
#68AA3D
accent
#EA3E82
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501775

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

Preview Lab → · Contrast checker → · Palette generator →

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