#5A445E#5A445E

#5A445E is a dark, muted purple. Relative luminance 0.071; OKLCH L 42.0% C 0.051 H 321.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#5A445E
RGBrgb(90, 68, 94)
HSLhsl(291, 16%, 32%)
HSVhsv(291, 28%, 37%)
CMYKcmyk(4.3%, 27.7%, 0%, 63.1%)
CIE-LABlab(32.07, 14.66, -11.72)
CIE-LCHlch(32.07, 18.77, 321.35°)
OKLaboklab(42.01% 0.0394 -0.0317)
OKLCHoklch(42.01% 0.051 321.2)
XYZxyz(8.3037, 7.1162, 11.5237)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A445E #485E44
analogous
#4D445E #5A445E #5E4455
triadic
#5A445E #5E5A44 #445E5A
tetradic
#5A445E #5E4D44 #485E44 #44555E
square
#5A445E #5E4D44 #485E44 #44555E
split-complementary
#5A445E #555E44 #445E4D
monochromatic
#161117 #382A3A #5A445E #7C5E82 #9B7CA0

Accessibility & contrast

On white

8.67
#5A445E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5A445E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A445E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A445E#FFFFFF#000000##FFFFFF
##5A445E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A5F
Deuteranopia (green-blind)
#464C5D
Tritanopia (blue-blind)
#5B474D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5a445e;
/* rgb */ color: rgb(90, 68, 94);
/* oklch */ color: oklch(42.0% 0.051 321.2);
Tailwind
colors: {
  custom: {
    50: '#89788b',
    500: '#5a445e',
    950: '#000000',
  },
}
SCSS
$custom: #5a445e;
$custom-light: #89788b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a445e",
  "rgb": {
    "r": 90,
    "g": 68,
    "b": 94
  },
  "hsl": {
    "h": 290.769,
    "s": 16.049,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.05063,
    "h": 321.2
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#5A445E
secondary
#758D71
accent
#B96F7A
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0B090C
muted
#7C7B7D

Preview Lab

Preview with #5A445E

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

Preview Lab → · Contrast checker → · Palette generator →

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