#501475#501475

#501475 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.154 H 308.1°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#501475
RGBrgb(80, 20, 117)
HSLhsl(277, 71%, 27%)
HSVhsv(277, 83%, 46%)
CMYKcmyk(31.6%, 82.9%, 0%, 54.1%)
CIE-LABlab(21.91, 43.85, -42.64)
CIE-LCHlch(21.91, 61.16, 315.80°)
OKLaboklab(34.67% 0.095 -0.1212)
OKLCHoklch(34.67% 0.154 308.1)
XYZxyz(6.7686, 3.4902, 17.1433)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501475 #397514
analogous
#1F1475 #501475 #75146A
triadic
#501475 #755014 #147550
tetradic
#501475 #751F14 #397514 #146A75
square
#501475 #751F14 #397514 #146A75
split-complementary
#501475 #6A7514 #14751F
monochromatic
#12041A #2C0B41 #501475 #741DA9 #9729DA

Accessibility & contrast

On white

12.37
#501475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#501475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501475
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501475#FFFFFF#000000##FFFFFF
##5014751.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#4A2D45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501475;
/* rgb */ color: rgb(80, 20, 117);
/* oklch */ color: oklch(34.7% 0.154 308.1);
Tailwind
colors: {
  custom: {
    50: '#865a9d',
    500: '#501475',
    950: '#000000',
  },
}
SCSS
$custom: #501475;
$custom-light: #865a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#501475",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 277.113,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34673,
    "c": 0.15401,
    "h": 308.1
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#501475
secondary
#65AB3A
accent
#EE3A7F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501475

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

Preview Lab → · Contrast checker → · Palette generator →

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