#5B4E79#5B4E79

#5B4E79 is a mid, moderate violet. Relative luminance 0.091; OKLCH L 45.5% C 0.070 H 297.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5B4E79
RGBrgb(91, 78, 121)
HSLhsl(258, 22%, 39%)
HSVhsv(258, 36%, 47%)
CMYKcmyk(24.8%, 35.5%, 0%, 52.5%)
CIE-LABlab(36.09, 15.32, -22.50)
CIE-LCHlch(36.09, 27.22, 304.24°)
OKLaboklab(45.5% 0.0324 -0.0624)
OKLCHoklch(45.5% 0.07 297.4)
XYZxyz(10.4892, 9.0533, 19.2803)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E79 #6C794E
analogous
#4E5779 #5B4E79 #714E79
triadic
#5B4E79 #795B4E #4E795B
tetradic
#5B4E79 #794E57 #6C794E #4E7971
square
#5B4E79 #794E57 #6C794E #4E7971
split-complementary
#5B4E79 #79714E #57794E
monochromatic
#231E2F #3F3654 #5B4E79 #77679D #998CB5

Accessibility & contrast

On white

7.47
#5B4E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5B4E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E79
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E79#FFFFFF#000000##FFFFFF
##5B4E791.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557B
Deuteranopia (green-blind)
#465478
Tritanopia (blue-blind)
#55555E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5b4e79;
/* rgb */ color: rgb(91, 78, 121);
/* oklch */ color: oklch(45.5% 0.070 297.4);
Tailwind
colors: {
  custom: {
    50: '#8a7fa0',
    500: '#5b4e79',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e79;
$custom-light: #8a7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e79",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 258.14,
    "s": 21.608,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45502,
    "c": 0.07028,
    "h": 297.4
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#5B4E79
secondary
#98A281
accent
#BE6AA5
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5B4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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