#501374#501374

#501374 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.154 H 308.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#501374
RGBrgb(80, 19, 116)
HSLhsl(278, 72%, 26%)
HSVhsv(278, 84%, 45%)
CMYKcmyk(31%, 83.6%, 0%, 54.5%)
CIE-LABlab(21.70, 43.98, -42.34)
CIE-LCHlch(21.70, 61.05, 316.09°)
OKLaboklab(34.5% 0.0961 -0.1203)
OKLCHoklch(34.5% 0.154 308.6)
XYZxyz(6.6929, 3.4323, 16.8295)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501374 #377413
analogous
#201374 #501374 #741368
triadic
#501374 #745013 #137450
tetradic
#501374 #742013 #377413 #136874
square
#501374 #742013 #377413 #136874
split-complementary
#501374 #687413 #137420
monochromatic
#12041A #2C0A3F #501374 #741CA9 #9826DB

Accessibility & contrast

On white

12.45
#501374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#501374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501374
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501374#FFFFFF#000000##FFFFFF
##5013741.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#4A2C44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501374;
/* rgb */ color: rgb(80, 19, 116);
/* oklch */ color: oklch(34.5% 0.154 308.6);
Tailwind
colors: {
  custom: {
    50: '#86599d',
    500: '#501374',
    950: '#000000',
  },
}
SCSS
$custom: #501374;
$custom-light: #86599d;
$custom-dark: #000000;
JSON
{
  "hex": "#501374",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 277.732,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34499,
    "c": 0.154,
    "h": 308.6
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#501374
secondary
#63AA38
accent
#EF397D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501374

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

Preview Lab → · Contrast checker → · Palette generator →

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