#501678#501678

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

Color values

HEX#501678
RGBrgb(80, 22, 120)
HSLhsl(276, 69%, 28%)
HSVhsv(276, 82%, 47%)
CMYKcmyk(33.3%, 81.7%, 0%, 52.9%)
CIE-LABlab(22.43, 43.79, -43.71)
CIE-LCHlch(22.43, 61.88, 315.05°)
OKLaboklab(35.12% 0.0925 -0.1244)
OKLCHoklch(35.12% 0.155 306.6)
XYZxyz(6.9846, 3.6354, 18.0994)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501678 #3E7816
analogous
#1F1678 #501678 #78166F
triadic
#501678 #785016 #167850
tetradic
#501678 #781F16 #3E7816 #166F78
square
#501678 #781F16 #3E7816 #166F78
split-complementary
#501678 #6F7816 #16781F
monochromatic
#11051A #2E0D44 #501678 #721FAC #942FD9

Accessibility & contrast

On white

12.16
#501678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501678
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501678#FFFFFF#000000##FFFFFF
##5016781.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#492F47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501678;
/* rgb */ color: rgb(80, 22, 120);
/* oklch */ color: oklch(35.1% 0.155 306.6);
Tailwind
colors: {
  custom: {
    50: '#865ba0',
    500: '#501678',
    950: '#000000',
  },
}
SCSS
$custom: #501678;
$custom-light: #865ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#501678",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 275.51,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35116,
    "c": 0.15501,
    "h": 306.6
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#501678
secondary
#6BAD3C
accent
#EC3C84
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #501678

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

Preview Lab → · Contrast checker → · Palette generator →

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