#5A425C#5A425C

#5A425C is a dark, muted purple. Relative luminance 0.068; OKLCH L 41.5% C 0.052 H 323.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#5A425C
RGBrgb(90, 66, 92)
HSLhsl(295, 16%, 31%)
HSVhsv(295, 28%, 36%)
CMYKcmyk(2.2%, 28.3%, 0%, 63.9%)
CIE-LABlab(31.45, 15.49, -11.39)
CIE-LCHlch(31.45, 19.22, 323.66°)
OKLaboklab(41.51% 0.0423 -0.0308)
OKLCHoklch(41.51% 0.052 323.9)
XYZxyz(8.0962, 6.8430, 11.0175)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A425C #445C42
analogous
#4D425C #5A425C #5C4251
triadic
#5A425C #5C5A42 #425C5A
tetradic
#5A425C #5C4D42 #445C42 #42515C
square
#5A425C #5C4D42 #445C42 #42515C
split-complementary
#5A425C #515C42 #425C4D
monochromatic
#140F15 #372838 #5A425C #7D5C80 #9C799F

Accessibility & contrast

On white

8.87
#5A425C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5A425C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A425C
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A425C#FFFFFF#000000##FFFFFF
##5A425C1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40485D
Deuteranopia (green-blind)
#454B5B
Tritanopia (blue-blind)
#5B444B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5a425c;
/* rgb */ color: rgb(90, 66, 92);
/* oklch */ color: oklch(41.5% 0.052 323.9);
Tailwind
colors: {
  custom: {
    50: '#89768a',
    500: '#5a425c',
    950: '#000000',
  },
}
SCSS
$custom: #5a425c;
$custom-light: #89768a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a425c",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 92
  },
  "hsl": {
    "h": 295.385,
    "s": 16.456,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4151,
    "c": 0.05229,
    "h": 323.9
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#5A425C
secondary
#718B6F
accent
#B96F74
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0B080B
muted
#7C7B7C

Preview Lab

Preview with #5A425C

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

Preview Lab → · Contrast checker → · Palette generator →

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