#5B445A

A color in the Purple, Crimson, Magenta family

#5b445a is a color in the Purple, Crimson, Magenta family: RGB(91, 68, 90), HSL(303°, 14%, 31%), CMYK(0%, 25%, 1%, 64%). Closest named color: darkslategray. Contrast is 8.68:1 on white and 2.42:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#5b445a
RGBrgb(91 68 90)
RGB (legacy)rgb(91, 68, 90)
RGB %rgb(36% 27% 35%)
HSLhsl(303 14% 31%)
HSV / HSBhsv(303, 25%, 36%)
HWBhwb(303 27% 64%)
CMYKcmyk(0%, 25%, 1%, 64%)
CIELAB (D50)lab(32.01 13.37 -9.13)
LCHlch(32.01 16.19 325.68)
OKLaboklab(0.4195 0.0393 -0.0248)
OKLCHoklch(0.4195 0.0465 327.79)
Decimal5981274

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkslategray ΔE 7.9
Closest web-safe color#663366
Hue303°
Saturation (HSL / HSV)14% / 25%
Lightness (HSL)31%
Brightness or Value (HSV)36%
Luminance (Rec.601 / Rec.709)30% / 29%
Relative luminance (WCAG)0.071
Red / Green / Blue91 / 68 / 90

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.68:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.42:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 89.7 / -12.5 · As background with white / black text: Lc -94.2 / 14.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #5b445a;
  --color-brand-oklch: oklch(41.95% 0.0465 327.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(91 68 90 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5b445a] text-[#5b445a] border-[#5b445a]">