#5B437B#5B437B

#5B437B is a dark, moderate violet. Relative luminance 0.077; OKLCH L 43.4% C 0.093 H 302.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5B437B
RGBrgb(91, 67, 123)
HSLhsl(266, 29%, 37%)
HSVhsv(266, 46%, 48%)
CMYKcmyk(26%, 45.5%, 0%, 51.8%)
CIE-LABlab(33.28, 22.80, -28.14)
CIE-LCHlch(33.28, 36.21, 309.01°)
OKLaboklab(43.41% 0.05 -0.0786)
OKLCHoklch(43.41% 0.093 302.5)
XYZxyz(9.8959, 7.6685, 19.6939)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B437B #637B43
analogous
#43477B #5B437B #77437B
triadic
#5B437B #7B5B43 #437B5B
tetradic
#5B437B #7B4347 #637B43 #437B77
square
#5B437B #7B4347 #637B43 #437B77
split-complementary
#5B437B #7B7743 #477B43
monochromatic
#20182C #3E2D53 #5B437B #7859A3 #987FB9

Accessibility & contrast

On white

8.29
#5B437B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5B437B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B437B
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B437B#FFFFFF#000000##FFFFFF
##5B437B1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7D
Deuteranopia (green-blind)
#394E7A
Tritanopia (blue-blind)
#554D59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5b437b;
/* rgb */ color: rgb(91, 67, 123);
/* oklch */ color: oklch(43.4% 0.093 302.5);
Tailwind
colors: {
  custom: {
    50: '#8b77a1',
    500: '#5b437b',
    950: '#000000',
  },
}
SCSS
$custom: #5b437b;
$custom-light: #8b77a1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b437b",
  "rgb": {
    "r": 91,
    "g": 67,
    "b": 123
  },
  "hsl": {
    "h": 265.714,
    "s": 29.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43408,
    "c": 0.09317,
    "h": 302.5
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#5B437B
secondary
#90A475
accent
#C6629B
background
#F8F7F9
surface
#F0EDF2
border
#CBC8CC
text
#0C090F
muted
#7D7B7E

Preview Lab

Preview with #5B437B

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

Preview Lab → · Contrast checker → · Palette generator →

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