#5B4E83#5B4E83

#5B4E83 is a mid, moderate violet. Relative luminance 0.093; OKLCH L 46.0% C 0.085 H 294.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5B4E83
RGBrgb(91, 78, 131)
HSLhsl(255, 25%, 41%)
HSVhsv(255, 40%, 51%)
CMYKcmyk(30.5%, 40.5%, 0%, 48.6%)
CIE-LABlab(36.58, 18.03, -27.90)
CIE-LCHlch(36.58, 33.22, 302.86°)
OKLaboklab(46.04% 0.0348 -0.078)
OKLCHoklch(46.04% 0.085 294.1)
XYZxyz(11.1345, 9.3114, 22.6790)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E83 #76834E
analogous
#4E5B83 #5B4E83 #754E83
triadic
#5B4E83 #835B4E #4E835B
tetradic
#5B4E83 #834E5B #76834E #4E8375
square
#5B4E83 #834E5B #76834E #4E8375
split-complementary
#5B4E83 #83754E #5B834E
monochromatic
#262036 #40375D #5B4E83 #7869A6 #9A8FBC

Accessibility & contrast

On white

7.34
#5B4E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5B4E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E83
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E83#FFFFFF#000000##FFFFFF
##5B4E831.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5785
Deuteranopia (green-blind)
#415582
Tritanopia (blue-blind)
#525762
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b4e83;
/* rgb */ color: rgb(91, 78, 131);
/* oklch */ color: oklch(46.0% 0.085 294.1);
Tailwind
colors: {
  custom: {
    50: '#8b7fa7',
    500: '#5b4e83',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e83;
$custom-light: #8b7fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e83",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 254.717,
    "s": 25.359,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46037,
    "c": 0.08538,
    "h": 294.1
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#5B4E83
secondary
#A0A984
accent
#C266AB
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5B4E83

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

Preview Lab → · Contrast checker → · Palette generator →

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