#5B44C5#5B44C5

#5B44C5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.191 H 285.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5B44C5
RGBrgb(91, 68, 197)
HSLhsl(251, 53%, 52%)
HSVhsv(251, 65%, 77%)
CMYKcmyk(53.8%, 65.5%, 0%, 22.7%)
CIE-LABlab(38.53, 43.63, -64.24)
CIE-LCHlch(38.53, 77.66, 304.18°)
OKLaboklab(48.87% 0.0495 -0.1845)
OKLCHoklch(48.87% 0.191 285)
XYZxyz(16.4565, 10.3887, 53.9506)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B44C5 #AEC544
analogous
#446DC5 #5B44C5 #9C44C5
triadic
#5B44C5 #C55B44 #44C55B
tetradic
#5B44C5 #C5446D #AEC544 #44C59C
square
#5B44C5 #C5446D #AEC544 #44C59C
split-complementary
#5B44C5 #C59C44 #6DC544
monochromatic
#2F226D #43309C #5B44C5 #8473D3 #ADA1E2

Accessibility & contrast

On white

6.82
#5B44C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5B44C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B44C5
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B44C5#FFFFFF#000000##FFFFFF
##5B44C51.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#2E647E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b44c5;
/* rgb */ color: rgb(91, 68, 197);
/* oklch */ color: oklch(48.9% 0.191 285.0);
Tailwind
colors: {
  custom: {
    50: '#9379d8',
    500: '#5b44c5',
    950: '#000000',
  },
}
SCSS
$custom: #5b44c5;
$custom-light: #9379d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b44c5",
  "rgb": {
    "r": 91,
    "g": 68,
    "b": 197
  },
  "hsl": {
    "h": 250.698,
    "s": 52.653,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48871,
    "c": 0.19105,
    "h": 285
  },
  "luminance": 0.1039
}

Semantic roles & 50–950 ramp

primary
#5B44C5
secondary
#C5CF96
accent
#DC4CC2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B44C5

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

Preview Lab → · Contrast checker → · Palette generator →

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