#5A44BC#5A44BC

#5A44BC is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.180 H 285.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5A44BC
RGBrgb(90, 68, 188)
HSLhsl(251, 47%, 50%)
HSVhsv(251, 64%, 74%)
CMYKcmyk(52.1%, 63.8%, 0%, 26.3%)
CIE-LABlab(37.73, 40.74, -60.29)
CIE-LCHlch(37.73, 72.76, 304.05°)
OKLaboklab(48.05% 0.0492 -0.1729)
OKLCHoklch(48.05% 0.18 285.9)
XYZxyz(15.3580, 9.9380, 48.6762)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A44BC #A6BC44
analogous
#446ABC #5A44BC #9644BC
triadic
#5A44BC #BC5A44 #44BC5A
tetradic
#5A44BC #BC446A #A6BC44 #44BC96
square
#5A44BC #BC446A #A6BC44 #44BC96
split-complementary
#5A44BC #BC9644 #6ABC44
monochromatic
#2F2362 #44338F #5A44BC #8271CC #AA9EDC

Accessibility & contrast

On white

7.03
#5A44BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5A44BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A44BC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A44BC#FFFFFF#000000##FFFFFF
##5A44BC1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#34617A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5a44bc;
/* rgb */ color: rgb(90, 68, 188);
/* oklch */ color: oklch(48.0% 0.180 285.9);
Tailwind
colors: {
  custom: {
    50: '#9179d1',
    500: '#5a44bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a44bc;
$custom-light: #9179d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a44bc",
  "rgb": {
    "r": 90,
    "g": 68,
    "b": 188
  },
  "hsl": {
    "h": 251,
    "s": 47.244,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48047,
    "c": 0.17977,
    "h": 285.9
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#5A44BC
secondary
#BFC993
accent
#D751BE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5A44BC

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

Preview Lab → · Contrast checker → · Palette generator →

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