#501074#501074

#501074 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.3% C 0.157 H 308.9°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#501074
RGBrgb(80, 16, 116)
HSLhsl(278, 76%, 26%)
HSVhsv(278, 86%, 45%)
CMYKcmyk(31%, 86.2%, 0%, 54.5%)
CIE-LABlab(21.35, 45.01, -42.91)
CIE-LCHlch(21.35, 62.18, 316.37°)
OKLaboklab(34.25% 0.0985 -0.122)
OKLCHoklch(34.25% 0.157 308.9)
XYZxyz(6.6453, 3.3371, 16.8137)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501074 #347410
analogous
#1E1074 #501074 #741066
triadic
#501074 #745010 #107450
tetradic
#501074 #741E10 #347410 #106674
square
#501074 #741E10 #347410 #106674
split-complementary
#501074 #667410 #10741E
monochromatic
#13041B #2B093E #501074 #7517AA #9A1FE0

Accessibility & contrast

On white

12.59
#501074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#501074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501074
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501074#FFFFFF#000000##FFFFFF
##5010741.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#4A2B44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501074;
/* rgb */ color: rgb(80, 16, 116);
/* oklch */ color: oklch(34.3% 0.157 308.9);
Tailwind
colors: {
  custom: {
    50: '#86589d',
    500: '#501074',
    950: '#000000',
  },
}
SCSS
$custom: #501074;
$custom-light: #86589d;
$custom-dark: #000000;
JSON
{
  "hex": "#501074",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 278.4,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34254,
    "c": 0.15677,
    "h": 308.9
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#501074
secondary
#5FAB35
accent
#F23579
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501074

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

Preview Lab → · Contrast checker → · Palette generator →

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