#5A1669#5A1669

#5A1669 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.144 H 319.6°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#5A1669
RGBrgb(90, 22, 105)
HSLhsl(289, 65%, 25%)
HSVhsv(289, 79%, 41%)
CMYKcmyk(14.3%, 79%, 0%, 58.8%)
CIE-LABlab(22.89, 42.49, -33.21)
CIE-LCHlch(22.89, 53.93, 321.98°)
OKLaboklab(35.4% 0.1095 -0.0932)
OKLCHoklch(35.4% 0.144 319.6)
XYZxyz(7.0528, 3.7678, 13.7176)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1669 #256916
analogous
#311669 #5A1669 #69164E
triadic
#5A1669 #695A16 #16695A
tetradic
#5A1669 #693116 #256916 #164E69
square
#5A1669 #693116 #256916 #164E69
split-complementary
#5A1669 #4E6916 #166931
monochromatic
#160519 #2F0B36 #5A1669 #85219C #B12BCE

Accessibility & contrast

On white

11.98
#5A1669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5A1669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1669
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1669#FFFFFF#000000##FFFFFF
##5A16691.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#1D3967
Tritanopia (blue-blind)
#5A273F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5a1669;
/* rgb */ color: rgb(90, 22, 105);
/* oklch */ color: oklch(35.4% 0.144 319.6);
Tailwind
colors: {
  custom: {
    50: '#8c5c94',
    500: '#5a1669',
    950: '#000000',
  },
}
SCSS
$custom: #5a1669;
$custom-light: #8c5c94;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1669",
  "rgb": {
    "r": 90,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 289.157,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35403,
    "c": 0.14379,
    "h": 319.6
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#5A1669
secondary
#4D9F3B
accent
#E83F5E
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5A1669

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

Preview Lab → · Contrast checker → · Palette generator →

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