#501674#501674

#501674 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.151 H 308.3°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#501674
RGBrgb(80, 22, 116)
HSLhsl(277, 68%, 27%)
HSVhsv(277, 81%, 45%)
CMYKcmyk(31%, 81%, 0%, 54.5%)
CIE-LABlab(22.09, 42.85, -41.70)
CIE-LCHlch(22.09, 59.79, 315.78°)
OKLaboklab(34.77% 0.0935 -0.1185)
OKLCHoklch(34.77% 0.151 308.3)
XYZxyz(6.7469, 3.5404, 16.8475)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501674 #3A7416
analogous
#211674 #501674 #741669
triadic
#501674 #745016 #167450
tetradic
#501674 #742116 #3A7416 #166974
square
#501674 #742116 #3A7416 #166974
split-complementary
#501674 #697416 #167421
monochromatic
#12051A #2D0C41 #501674 #7320A7 #962DD7

Accessibility & contrast

On white

12.30
#501674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#501674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501674
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501674#FFFFFF#000000##FFFFFF
##5016741.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#4A2E45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501674;
/* rgb */ color: rgb(80, 22, 116);
/* oklch */ color: oklch(34.8% 0.151 308.3);
Tailwind
colors: {
  custom: {
    50: '#855b9d',
    500: '#501674',
    950: '#000000',
  },
}
SCSS
$custom: #501674;
$custom-light: #855b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#501674",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 277.021,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34773,
    "c": 0.15093,
    "h": 308.3
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#501674
secondary
#66AA3C
accent
#EB3D80
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501674

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

Preview Lab → · Contrast checker → · Palette generator →

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