#501974#501974

#501974 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.148 H 307.9°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#501974
RGBrgb(80, 25, 116)
HSLhsl(276, 65%, 28%)
HSVhsv(276, 78%, 45%)
CMYKcmyk(31%, 78.4%, 0%, 54.5%)
CIE-LABlab(22.52, 41.61, -41.00)
CIE-LCHlch(22.52, 58.42, 315.42°)
OKLaboklab(35.08% 0.0907 -0.1164)
OKLCHoklch(35.08% 0.148 307.9)
XYZxyz(6.8076, 3.6618, 16.8678)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501974 #3D7419
analogous
#231974 #501974 #74196A
triadic
#501974 #745019 #197450
tetradic
#501974 #742319 #3D7419 #196A74
square
#501974 #742319 #3D7419 #196A74
split-complementary
#501974 #6A7419 #197423
monochromatic
#110519 #2D0E42 #501974 #7324A6 #9434D3

Accessibility & contrast

On white

12.12
#501974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501974
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501974#FFFFFF#000000##FFFFFF
##5019741.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#4A2F45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501974;
/* rgb */ color: rgb(80, 25, 116);
/* oklch */ color: oklch(35.1% 0.148 307.9);
Tailwind
colors: {
  custom: {
    50: '#855c9d',
    500: '#501974',
    950: '#000000',
  },
}
SCSS
$custom: #501974;
$custom-light: #855c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#501974",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 276.264,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35076,
    "c": 0.14757,
    "h": 307.9
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#501974
secondary
#69A940
accent
#E84082
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501974

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

Preview Lab → · Contrast checker → · Palette generator →

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