#5A445A#5A445A

#5A445A is a dark, muted purple. Relative luminance 0.070; OKLCH L 41.8% C 0.046 H 326.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#5A445A
RGBrgb(90, 68, 90)
HSLhsl(300, 14%, 31%)
HSVhsv(300, 24%, 35%)
CMYKcmyk(0%, 24.4%, 0%, 64.7%)
CIE-LABlab(31.91, 13.77, -9.41)
CIE-LCHlch(31.91, 16.68, 325.67°)
OKLaboklab(41.84% 0.038 -0.0253)
OKLCHoklch(41.84% 0.046 326.4)
XYZxyz(8.1288, 7.0463, 10.6027)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A445A #445A44
analogous
#4F445A #5A445A #5A444F
triadic
#5A445A #5A5A44 #445A5A
tetradic
#5A445A #5A4F44 #445A44 #444F5A
square
#5A445A #5A4F44 #445A44 #444F5A
split-complementary
#5A445A #4F5A44 #445A4F
monochromatic
#140F14 #372A37 #5A445A #7D5E7D #9C7C9C

Accessibility & contrast

On white

8.72
#5A445A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5A445A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A445A
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A445A#FFFFFF#000000##FFFFFF
##5A445A1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43495B
Deuteranopia (green-blind)
#484C59
Tritanopia (blue-blind)
#5B464C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5a445a;
/* rgb */ color: rgb(90, 68, 90);
/* oklch */ color: oklch(41.8% 0.046 326.4);
Tailwind
colors: {
  custom: {
    50: '#897888',
    500: '#5a445a',
    950: '#000000',
  },
}
SCSS
$custom: #5a445a;
$custom-light: #897888;
$custom-dark: #000000;
JSON
{
  "hex": "#5a445a",
  "rgb": {
    "r": 90,
    "g": 68,
    "b": 90
  },
  "hsl": {
    "h": 300,
    "s": 13.924,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4184,
    "c": 0.04567,
    "h": 326.4
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#5A445A
secondary
#718971
accent
#B77171
background
#F8F7F8
surface
#F0EDEF
border
#CBC8CA
text
#0B090B
muted
#7C7B7C

Preview Lab

Preview with #5A445A

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

Preview Lab → · Contrast checker → · Palette generator →

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