#5A4260#5A4260

#5A4260 is a dark, muted purple. Relative luminance 0.069; OKLCH L 41.7% C 0.057 H 319.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#5A4260
RGBrgb(90, 66, 96)
HSLhsl(288, 19%, 32%)
HSVhsv(288, 31%, 38%)
CMYKcmyk(6.2%, 31.3%, 0%, 62.4%)
CIE-LABlab(31.61, 16.39, -13.70)
CIE-LCHlch(31.61, 21.36, 320.10°)
OKLaboklab(41.69% 0.0436 -0.0373)
OKLCHoklch(41.69% 0.057 319.5)
XYZxyz(8.2757, 6.9148, 11.9628)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4260 #486042
analogous
#4B4260 #5A4260 #604257
triadic
#5A4260 #605A42 #42605A
tetradic
#5A4260 #604B42 #486042 #425760
square
#5A4260 #604B42 #486042 #425760
split-complementary
#5A4260 #576042 #42604B
monochromatic
#161017 #38293C #5A4260 #7C5B84 #9B79A3

Accessibility & contrast

On white

8.81
#5A4260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A4260
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4260#FFFFFF#000000##FFFFFF
##5A42601.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4961
Deuteranopia (green-blind)
#444B5F
Tritanopia (blue-blind)
#5A454D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5a4260;
/* rgb */ color: rgb(90, 66, 96);
/* oklch */ color: oklch(41.7% 0.057 319.5);
Tailwind
colors: {
  custom: {
    50: '#89768d',
    500: '#5a4260',
    950: '#000000',
  },
}
SCSS
$custom: #5a4260;
$custom-light: #89768d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4260",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 96
  },
  "hsl": {
    "h": 288,
    "s": 18.519,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41691,
    "c": 0.05734,
    "h": 319.5
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#5A4260
secondary
#758F6E
accent
#BB6D7C
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0B080C
muted
#7C7B7D

Preview Lab

Preview with #5A4260

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

Preview Lab → · Contrast checker → · Palette generator →

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