#5B44BC#5B44BC

#5B44BC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.1% C 0.180 H 286.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5B44BC
RGBrgb(91, 68, 188)
HSLhsl(252, 47%, 50%)
HSVhsv(252, 64%, 74%)
CMYKcmyk(51.6%, 63.8%, 0%, 26.3%)
CIE-LABlab(37.82, 40.92, -60.13)
CIE-LCHlch(37.82, 72.74, 304.23°)
OKLaboklab(48.14% 0.0505 -0.1724)
OKLCHoklch(48.14% 0.18 286.3)
XYZxyz(15.4559, 9.9885, 48.6808)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B44BC #A5BC44
analogous
#4469BC #5B44BC #9744BC
triadic
#5B44BC #BC5B44 #44BC5B
tetradic
#5B44BC #BC4469 #A5BC44 #44BC97
square
#5B44BC #BC4469 #A5BC44 #44BC97
split-complementary
#5B44BC #BC9744 #69BC44
monochromatic
#2F2362 #45338F #5B44BC #8371CC #AA9EDC

Accessibility & contrast

On white

7.01
#5B44BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5B44BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B44BC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B44BC#FFFFFF#000000##FFFFFF
##5B44BC1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#36617A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b44bc;
/* rgb */ color: rgb(91, 68, 188);
/* oklch */ color: oklch(48.1% 0.180 286.3);
Tailwind
colors: {
  custom: {
    50: '#9279d1',
    500: '#5b44bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b44bc;
$custom-light: #9279d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b44bc",
  "rgb": {
    "r": 91,
    "g": 68,
    "b": 188
  },
  "hsl": {
    "h": 251.5,
    "s": 47.244,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48135,
    "c": 0.17969,
    "h": 286.3
  },
  "luminance": 0.09989
}

Semantic roles & 50–950 ramp

primary
#5B44BC
secondary
#BEC993
accent
#D751BD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5B44BC

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

Preview Lab → · Contrast checker → · Palette generator →

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