#501875#501875

#501875 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.150 H 307.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#501875
RGBrgb(80, 24, 117)
HSLhsl(276, 66%, 28%)
HSVhsv(276, 79%, 46%)
CMYKcmyk(31.6%, 79.5%, 0%, 54.1%)
CIE-LABlab(22.45, 42.27, -41.75)
CIE-LCHlch(22.45, 59.41, 315.36°)
OKLaboklab(35.06% 0.0914 -0.1186)
OKLCHoklch(35.06% 0.15 307.6)
XYZxyz(6.8451, 3.6432, 17.1688)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501875 #3D7518
analogous
#221875 #501875 #75186B
triadic
#501875 #755018 #187550
tetradic
#501875 #752218 #3D7518 #186B75
square
#501875 #752218 #3D7518 #186B75
split-complementary
#501875 #6B7518 #187522
monochromatic
#110519 #2D0E42 #501875 #7322A8 #9432D5

Accessibility & contrast

On white

12.15
#501875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#501875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501875
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501875#FFFFFF#000000##FFFFFF
##5018751.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#4A2F46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501875;
/* rgb */ color: rgb(80, 24, 117);
/* oklch */ color: oklch(35.1% 0.150 307.6);
Tailwind
colors: {
  custom: {
    50: '#855c9d',
    500: '#501875',
    950: '#000000',
  },
}
SCSS
$custom: #501875;
$custom-light: #855c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#501875",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 276.129,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35056,
    "c": 0.14976,
    "h": 307.6
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#501875
secondary
#69AA3F
accent
#E93F83
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501875

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

Preview Lab → · Contrast checker → · Palette generator →

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