#5A425E#5A425E

#5A425E is a dark, muted purple. Relative luminance 0.069; OKLCH L 41.6% C 0.055 H 321.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#5A425E
RGBrgb(90, 66, 94)
HSLhsl(291, 18%, 31%)
HSVhsv(291, 30%, 37%)
CMYKcmyk(4.3%, 29.8%, 0%, 63.1%)
CIE-LABlab(31.53, 15.93, -12.55)
CIE-LCHlch(31.53, 20.28, 321.78°)
OKLaboklab(41.6% 0.0429 -0.034)
OKLCHoklch(41.6% 0.055 321.6)
XYZxyz(8.1848, 6.8784, 11.4840)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A425E #465E42
analogous
#4C425E #5A425E #5E4254
triadic
#5A425E #5E5A42 #425E5A
tetradic
#5A425E #5E4C42 #465E42 #42545E
square
#5A425E #5E4C42 #465E42 #42545E
split-complementary
#5A425E #545E42 #425E4C
monochromatic
#151016 #38293A #5A425E #7C5B82 #9B79A1

Accessibility & contrast

On white

8.84
#5A425E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5A425E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A425E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A425E#FFFFFF#000000##FFFFFF
##5A425E1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485F
Deuteranopia (green-blind)
#454B5D
Tritanopia (blue-blind)
#5B454C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5a425e;
/* rgb */ color: rgb(90, 66, 94);
/* oklch */ color: oklch(41.6% 0.055 321.6);
Tailwind
colors: {
  custom: {
    50: '#89768b',
    500: '#5a425e',
    950: '#000000',
  },
}
SCSS
$custom: #5a425e;
$custom-light: #89768b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a425e",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 94
  },
  "hsl": {
    "h": 291.429,
    "s": 17.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41599,
    "c": 0.05478,
    "h": 321.6
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#5A425E
secondary
#738D6E
accent
#BA6E79
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0B080C
muted
#7C7B7D

Preview Lab

Preview with #5A425E

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

Preview Lab → · Contrast checker → · Palette generator →

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