#5B44C4#5B44C4

#5B44C4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.190 H 285.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5B44C4
RGBrgb(91, 68, 196)
HSLhsl(251, 52%, 52%)
HSVhsv(251, 65%, 77%)
CMYKcmyk(53.6%, 65.3%, 0%, 23.1%)
CIE-LABlab(38.45, 43.33, -63.79)
CIE-LCHlch(38.45, 77.11, 304.19°)
OKLaboklab(48.79% 0.0497 -0.1832)
OKLCHoklch(48.79% 0.19 285.2)
XYZxyz(16.3423, 10.3430, 53.3491)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B44C4 #ADC444
analogous
#446DC4 #5B44C4 #9B44C4
triadic
#5B44C4 #C45B44 #44C45B
tetradic
#5B44C4 #C4446D #ADC444 #44C49B
square
#5B44C4 #C4446D #ADC444 #44C49B
split-complementary
#5B44C4 #C49B44 #6DC444
monochromatic
#2F226C #44319A #5B44C4 #8473D3 #ADA1E1

Accessibility & contrast

On white

6.84
#5B44C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5B44C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B44C4
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B44C4#FFFFFF#000000##FFFFFF
##5B44C41.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#2F647E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b44c4;
/* rgb */ color: rgb(91, 68, 196);
/* oklch */ color: oklch(48.8% 0.190 285.2);
Tailwind
colors: {
  custom: {
    50: '#9379d7',
    500: '#5b44c4',
    950: '#000000',
  },
}
SCSS
$custom: #5b44c4;
$custom-light: #9379d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b44c4",
  "rgb": {
    "r": 91,
    "g": 68,
    "b": 196
  },
  "hsl": {
    "h": 250.781,
    "s": 52.033,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48788,
    "c": 0.18979,
    "h": 285.2
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#5B44C4
secondary
#C4CE96
accent
#DB4CC2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5B44C4

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

Preview Lab → · Contrast checker → · Palette generator →

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