#5A1467#5A1467

#5A1467 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.144 H 320.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#5A1467
RGBrgb(90, 20, 103)
HSLhsl(291, 67%, 24%)
HSVhsv(291, 81%, 40%)
CMYKcmyk(12.6%, 80.6%, 0%, 59.6%)
CIE-LABlab(22.49, 42.81, -32.55)
CIE-LCHlch(22.49, 53.78, 322.76°)
OKLaboklab(35.08% 0.1117 -0.0912)
OKLCHoklch(35.08% 0.144 320.8)
XYZxyz(6.9145, 3.6536, 13.1703)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1467 #216714
analogous
#311467 #5A1467 #67144B
triadic
#5A1467 #675A14 #14675A
tetradic
#5A1467 #673114 #216714 #144B67
square
#5A1467 #673114 #216714 #144B67
split-complementary
#5A1467 #4B6714 #146731
monochromatic
#16051A #2D0A34 #5A1467 #871E9A #B428CD

Accessibility & contrast

On white

12.13
#5A1467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5A1467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1467
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1467#FFFFFF#000000##FFFFFF
##5A14671.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#1E3865
Tritanopia (blue-blind)
#5B253D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5a1467;
/* rgb */ color: rgb(90, 20, 103);
/* oklch */ color: oklch(35.1% 0.144 320.8);
Tailwind
colors: {
  custom: {
    50: '#8c5b93',
    500: '#5a1467',
    950: '#000000',
  },
}
SCSS
$custom: #5a1467;
$custom-light: #8c5b93;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1467",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 290.602,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35077,
    "c": 0.14419,
    "h": 320.8
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#5A1467
secondary
#499E39
accent
#EA3D59
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5A1467

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

Preview Lab → · Contrast checker → · Palette generator →

#5A1467 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva