#5B44CC#5B44CC

#5B44CC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.200 H 284.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5B44CC
RGBrgb(91, 68, 204)
HSLhsl(250, 57%, 53%)
HSVhsv(250, 67%, 80%)
CMYKcmyk(55.4%, 66.7%, 0%, 20%)
CIE-LABlab(39.10, 45.74, -67.38)
CIE-LCHlch(39.10, 81.44, 304.17°)
OKLaboklab(49.46% 0.0487 -0.1937)
OKLCHoklch(49.46% 0.2 284.1)
XYZxyz(17.2773, 10.7170, 58.2732)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B44CC #B5CC44
analogous
#4471CC #5B44CC #9F44CC
triadic
#5B44CC #CC5B44 #44CC5B
tetradic
#5B44CC #CC4471 #B5CC44 #44CC9F
square
#5B44CC #CC4471 #B5CC44 #44CC9F
split-complementary
#5B44CC #CC9F44 #71CC44
monochromatic
#2F2076 #422DA6 #5B44CC #8574D9 #AFA4E6

Accessibility & contrast

On white

6.68
#5B44CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5B44CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B44CC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B44CC#FFFFFF#000000##FFFFFF
##5B44CC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#266782
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b44cc;
/* rgb */ color: rgb(91, 68, 204);
/* oklch */ color: oklch(49.5% 0.200 284.1);
Tailwind
colors: {
  custom: {
    50: '#947add',
    500: '#5b44cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b44cc;
$custom-light: #947add;
$custom-dark: #000000;
JSON
{
  "hex": "#5b44cc",
  "rgb": {
    "r": 91,
    "g": 68,
    "b": 204
  },
  "hsl": {
    "h": 250.147,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49458,
    "c": 0.19975,
    "h": 284.1
  },
  "luminance": 0.10718
}

Semantic roles & 50–950 ramp

primary
#5B44CC
secondary
#C9D399
accent
#E047C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B44CC

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

Preview Lab → · Contrast checker → · Palette generator →

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