#5B447E#5B447E

#5B447E is a dark, moderate violet. Relative luminance 0.079; OKLCH L 43.8% C 0.096 H 300.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5B447E
RGBrgb(91, 68, 126)
HSLhsl(264, 30%, 38%)
HSVhsv(264, 46%, 49%)
CMYKcmyk(27.8%, 46%, 0%, 50.6%)
CIE-LABlab(33.70, 22.97, -29.35)
CIE-LCHlch(33.70, 37.26, 308.05°)
OKLaboklab(43.78% 0.049 -0.0821)
OKLCHoklch(43.78% 0.096 300.8)
XYZxyz(10.1465, 7.8647, 20.7181)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B447E #677E44
analogous
#444A7E #5B447E #78447E
triadic
#5B447E #7E5B44 #447E5B
tetradic
#5B447E #7E444A #677E44 #447E78
square
#5B447E #7E444A #677E44 #447E78
split-complementary
#5B447E #7E7844 #4A7E44
monochromatic
#22192F #3E2F56 #5B447E #785AA6 #9881BB

Accessibility & contrast

On white

8.16
#5B447E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5B447E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B447E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B447E#FFFFFF#000000##FFFFFF
##5B447E1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#394F7D
Tritanopia (blue-blind)
#544E5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b447e;
/* rgb */ color: rgb(91, 68, 126);
/* oklch */ color: oklch(43.8% 0.096 300.8);
Tailwind
colors: {
  custom: {
    50: '#8b78a3',
    500: '#5b447e',
    950: '#000000',
  },
}
SCSS
$custom: #5b447e;
$custom-light: #8b78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b447e",
  "rgb": {
    "r": 91,
    "g": 68,
    "b": 126
  },
  "hsl": {
    "h": 263.793,
    "s": 29.897,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43775,
    "c": 0.09563,
    "h": 300.8
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#5B447E
secondary
#94A677
accent
#C6629E
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C090F
muted
#7D7B7F

Preview Lab

Preview with #5B447E

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

Preview Lab → · Contrast checker → · Palette generator →

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