#501675#501675

#501675 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.152 H 307.9°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#501675
RGBrgb(80, 22, 117)
HSLhsl(277, 68%, 27%)
HSVhsv(277, 81%, 46%)
CMYKcmyk(31.6%, 81.2%, 0%, 54.1%)
CIE-LABlab(22.17, 43.08, -42.21)
CIE-LCHlch(22.17, 60.31, 315.59°)
OKLaboklab(34.86% 0.0933 -0.12)
OKLCHoklch(34.86% 0.152 307.9)
XYZxyz(6.8054, 3.5637, 17.1555)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501675 #3B7516
analogous
#211675 #501675 #75166A
triadic
#501675 #755016 #167550
tetradic
#501675 #752116 #3B7516 #166A75
square
#501675 #752116 #3B7516 #166A75
split-complementary
#501675 #6A7516 #167521
monochromatic
#12051A #2D0C41 #501675 #7320A9 #952ED8

Accessibility & contrast

On white

12.26
#501675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#501675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501675
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501675#FFFFFF#000000##FFFFFF
##5016751.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501675;
/* rgb */ color: rgb(80, 22, 117);
/* oklch */ color: oklch(34.9% 0.152 307.9);
Tailwind
colors: {
  custom: {
    50: '#855b9d',
    500: '#501675',
    950: '#000000',
  },
}
SCSS
$custom: #501675;
$custom-light: #855b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#501675",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 276.632,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34858,
    "c": 0.15195,
    "h": 307.9
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#501675
secondary
#67AB3C
accent
#EB3D81
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501675

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

Preview Lab → · Contrast checker → · Palette generator →

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