#5B44CA#5B44CA

#5B44CA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.197 H 284.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5B44CA
RGBrgb(91, 68, 202)
HSLhsl(250, 56%, 53%)
HSVhsv(250, 66%, 79%)
CMYKcmyk(55%, 66.3%, 0%, 20.8%)
CIE-LABlab(38.94, 45.14, -66.49)
CIE-LCHlch(38.94, 80.36, 304.17°)
OKLaboklab(49.29% 0.0489 -0.1911)
OKLCHoklch(49.29% 0.197 284.4)
XYZxyz(17.0389, 10.6217, 57.0180)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B44CA #B3CA44
analogous
#4470CA #5B44CA #9E44CA
triadic
#5B44CA #CA5B44 #44CA5B
tetradic
#5B44CA #CA4470 #B3CA44 #44CA9E
square
#5B44CA #CA4470 #B3CA44 #44CA9E
split-complementary
#5B44CA #CA9E44 #70CA44
monochromatic
#2F2173 #422EA3 #5B44CA #8574D8 #AFA3E5

Accessibility & contrast

On white

6.72
#5B44CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5B44CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B44CA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B44CA#FFFFFF#000000##FFFFFF
##5B44CA1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#286681
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b44ca;
/* rgb */ color: rgb(91, 68, 202);
/* oklch */ color: oklch(49.3% 0.197 284.4);
Tailwind
colors: {
  custom: {
    50: '#9479db',
    500: '#5b44ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b44ca;
$custom-light: #9479db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b44ca",
  "rgb": {
    "r": 91,
    "g": 68,
    "b": 202
  },
  "hsl": {
    "h": 250.299,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.19727,
    "h": 284.4
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#5B44CA
secondary
#C8D298
accent
#DF49C5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B44CA

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

Preview Lab → · Contrast checker → · Palette generator →

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