#5B44CB#5B44CB

#5B44CB is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.4% C 0.199 H 284.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5B44CB
RGBrgb(91, 68, 203)
HSLhsl(250, 56%, 53%)
HSVhsv(250, 67%, 80%)
CMYKcmyk(55.2%, 66.5%, 0%, 20.4%)
CIE-LABlab(39.02, 45.44, -66.94)
CIE-LCHlch(39.02, 80.90, 304.17°)
OKLaboklab(49.37% 0.0488 -0.1924)
OKLCHoklch(49.37% 0.199 284.2)
XYZxyz(17.1577, 10.6692, 57.6436)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B44CB #B4CB44
analogous
#4470CB #5B44CB #9E44CB
triadic
#5B44CB #CB5B44 #44CB5B
tetradic
#5B44CB #CB4470 #B4CB44 #44CB9E
square
#5B44CB #CB4470 #B4CB44 #44CB9E
split-complementary
#5B44CB #CB9E44 #70CB44
monochromatic
#2F2074 #422EA4 #5B44CB #8574D8 #AFA4E6

Accessibility & contrast

On white

6.70
#5B44CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5B44CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B44CB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B44CB#FFFFFF#000000##FFFFFF
##5B44CB1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#276682
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b44cb;
/* rgb */ color: rgb(91, 68, 203);
/* oklch */ color: oklch(49.4% 0.199 284.2);
Tailwind
colors: {
  custom: {
    50: '#9479dc',
    500: '#5b44cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b44cb;
$custom-light: #9479dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b44cb",
  "rgb": {
    "r": 91,
    "g": 68,
    "b": 203
  },
  "hsl": {
    "h": 250.222,
    "s": 56.485,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.19851,
    "h": 284.2
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#5B44CB
secondary
#C9D398
accent
#E048C6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B44CB

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

Preview Lab → · Contrast checker → · Palette generator →

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