#5B4E75#5B4E75

#5B4E75 is a mid, moderate violet. Relative luminance 0.090; OKLCH L 45.3% C 0.064 H 299.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5B4E75
RGBrgb(91, 78, 117)
HSLhsl(260, 20%, 38%)
HSVhsv(260, 33%, 46%)
CMYKcmyk(22.2%, 33.3%, 0%, 54.1%)
CIE-LABlab(35.90, 14.27, -20.31)
CIE-LCHlch(35.90, 24.82, 305.09°)
OKLaboklab(45.3% 0.0313 -0.0561)
OKLCHoklch(45.3% 0.064 299.1)
XYZxyz(10.2490, 8.9572, 18.0151)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E75 #68754E
analogous
#4E5475 #5B4E75 #6E4E75
triadic
#5B4E75 #755B4E #4E755B
tetradic
#5B4E75 #754E54 #68754E #4E756E
square
#5B4E75 #754E54 #68754E #4E756E
split-complementary
#5B4E75 #756E4E #54754E
monochromatic
#221D2C #3E3650 #5B4E75 #786799 #988BB2

Accessibility & contrast

On white

7.52
#5B4E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5B4E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E75
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E75#FFFFFF#000000##FFFFFF
##5B4E751.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455477
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#56545C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b4e75;
/* rgb */ color: rgb(91, 78, 117);
/* oklch */ color: oklch(45.3% 0.064 299.1);
Tailwind
colors: {
  custom: {
    50: '#8a7f9d',
    500: '#5b4e75',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e75;
$custom-light: #8a7f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e75",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 117
  },
  "hsl": {
    "h": 260,
    "s": 20,
    "l": 38.235
  },
  "oklch": {
    "l": 0.453,
    "c": 0.06423,
    "h": 299.1
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

primary
#5B4E75
secondary
#959F80
accent
#BD6BA1
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5B4E75

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

Preview Lab → · Contrast checker → · Palette generator →

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