#5B44C8#5B44C8

#5B44C8 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.195 H 284.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5B44C8
RGBrgb(91, 68, 200)
HSLhsl(250, 55%, 53%)
HSVhsv(250, 66%, 78%)
CMYKcmyk(54.5%, 66%, 0%, 21.6%)
CIE-LABlab(38.77, 44.53, -65.59)
CIE-LCHlch(38.77, 79.28, 304.17°)
OKLaboklab(49.12% 0.0492 -0.1885)
OKLCHoklch(49.12% 0.195 284.6)
XYZxyz(16.8037, 10.5276, 55.7790)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B44C8 #B1C844
analogous
#446FC8 #5B44C8 #9D44C8
triadic
#5B44C8 #C85B44 #44C85B
tetradic
#5B44C8 #C8446F #B1C844 #44C89D
square
#5B44C8 #C8446F #B1C844 #44C89D
split-complementary
#5B44C8 #C89D44 #6FC844
monochromatic
#2F2171 #432FA0 #5B44C8 #8473D6 #AEA3E4

Accessibility & contrast

On white

6.76
#5B44C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5B44C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B44C8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B44C8#FFFFFF#000000##FFFFFF
##5B44C81.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#2B6580
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b44c8;
/* rgb */ color: rgb(91, 68, 200);
/* oklch */ color: oklch(49.1% 0.195 284.6);
Tailwind
colors: {
  custom: {
    50: '#9379da',
    500: '#5b44c8',
    950: '#000000',
  },
}
SCSS
$custom: #5b44c8;
$custom-light: #9379da;
$custom-dark: #000000;
JSON
{
  "hex": "#5b44c8",
  "rgb": {
    "r": 91,
    "g": 68,
    "b": 200
  },
  "hsl": {
    "h": 250.455,
    "s": 54.545,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.19479,
    "h": 284.6
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#5B44C8
secondary
#C7D197
accent
#DE4AC4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B44C8

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

Preview Lab → · Contrast checker → · Palette generator →

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