#5A465E#5A465E

#5A465E is a dark, muted purple. Relative luminance 0.074; OKLCH L 42.4% C 0.046 H 320.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5A465E
RGBrgb(90, 70, 94)
HSLhsl(290, 15%, 32%)
HSVhsv(290, 26%, 37%)
CMYKcmyk(4.3%, 25.5%, 0%, 63.1%)
CIE-LABlab(32.62, 13.39, -10.89)
CIE-LCHlch(32.62, 17.26, 320.88°)
OKLaboklab(42.43% 0.036 -0.0294)
OKLCHoklch(42.43% 0.046 320.7)
XYZxyz(8.4267, 7.3623, 11.5647)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A465E #4A5E46
analogous
#4E465E #5A465E #5E4656
triadic
#5A465E #5E5A46 #465E5A
tetradic
#5A465E #5E4E46 #4A5E46 #46565E
square
#5A465E #5E4E46 #4A5E46 #46565E
split-complementary
#5A465E #565E46 #465E4E
monochromatic
#171218 #382C3B #5A465E #7C6081 #9A7FA0

Accessibility & contrast

On white

8.49
#5A465E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5A465E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A465E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A465E#FFFFFF#000000##FFFFFF
##5A465E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444B5F
Deuteranopia (green-blind)
#484D5D
Tritanopia (blue-blind)
#5B484E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5a465e;
/* rgb */ color: rgb(90, 70, 94);
/* oklch */ color: oklch(42.4% 0.046 320.7);
Tailwind
colors: {
  custom: {
    50: '#89798b',
    500: '#5a465e',
    950: '#000000',
  },
}
SCSS
$custom: #5a465e;
$custom-light: #89798b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a465e",
  "rgb": {
    "r": 90,
    "g": 70,
    "b": 94
  },
  "hsl": {
    "h": 290,
    "s": 14.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42434,
    "c": 0.04648,
    "h": 320.7
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#5A465E
secondary
#778D73
accent
#B7707C
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0B090C
muted
#7C7B7D

Preview Lab

Preview with #5A465E

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

Preview Lab → · Contrast checker → · Palette generator →

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