#5B44BB#5B44BB

#5B44BB is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.1% C 0.178 H 286.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5B44BB
RGBrgb(91, 68, 187)
HSLhsl(252, 47%, 50%)
HSVhsv(252, 64%, 73%)
CMYKcmyk(51.3%, 63.6%, 0%, 26.7%)
CIE-LABlab(37.74, 40.62, -59.67)
CIE-LCHlch(37.74, 72.19, 304.24°)
OKLaboklab(48.06% 0.0506 -0.1711)
OKLCHoklch(48.06% 0.178 286.5)
XYZxyz(15.3485, 9.9455, 48.1150)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B44BB #A4BB44
analogous
#4468BB #5B44BB #9744BB
triadic
#5B44BB #BB5B44 #44BB5B
tetradic
#5B44BB #BB4468 #A4BB44 #44BB97
square
#5B44BB #BB4468 #A4BB44 #44BB97
split-complementary
#5B44BB #BB9744 #68BB44
monochromatic
#2F2361 #45348E #5B44BB #8271CB #AA9EDC

Accessibility & contrast

On white

7.03
#5B44BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5B44BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B44BB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B44BB#FFFFFF#000000##FFFFFF
##5B44BB1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#376179
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b44bb;
/* rgb */ color: rgb(91, 68, 187);
/* oklch */ color: oklch(48.1% 0.178 286.5);
Tailwind
colors: {
  custom: {
    50: '#9279d0',
    500: '#5b44bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b44bb;
$custom-light: #9279d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b44bb",
  "rgb": {
    "r": 91,
    "g": 68,
    "b": 187
  },
  "hsl": {
    "h": 251.597,
    "s": 46.667,
    "l": 50
  },
  "oklch": {
    "l": 0.48055,
    "c": 0.17842,
    "h": 286.5
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#5B44BB
secondary
#BEC893
accent
#D651BD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5B44BB

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

Preview Lab → · Contrast checker → · Palette generator →

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