#5A44BB#5A44BB

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

Color values

HEX#5A44BB
RGBrgb(90, 68, 187)
HSLhsl(251, 47%, 50%)
HSVhsv(251, 64%, 73%)
CMYKcmyk(51.9%, 63.6%, 0%, 26.7%)
CIE-LABlab(37.65, 40.43, -59.83)
CIE-LCHlch(37.65, 72.21, 304.05°)
OKLaboklab(47.97% 0.0493 -0.1716)
OKLCHoklch(47.97% 0.179 286)
XYZxyz(15.2505, 9.8950, 48.1104)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A44BB #A5BB44
analogous
#446ABB #5A44BB #9544BB
triadic
#5A44BB #BB5A44 #44BB5A
tetradic
#5A44BB #BB446A #A5BB44 #44BB95
square
#5A44BB #BB446A #A5BB44 #44BB95
split-complementary
#5A44BB #BB9544 #6ABB44
monochromatic
#2F2361 #44348E #5A44BB #8271CB #A99EDC

Accessibility & contrast

On white

7.05
#5A44BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5A44BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A44BB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A44BB#FFFFFF#000000##FFFFFF
##5A44BB1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#356179
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5a44bb;
/* rgb */ color: rgb(90, 68, 187);
/* oklch */ color: oklch(48.0% 0.178 286.0);
Tailwind
colors: {
  custom: {
    50: '#9179d0',
    500: '#5a44bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a44bb;
$custom-light: #9179d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a44bb",
  "rgb": {
    "r": 90,
    "g": 68,
    "b": 187
  },
  "hsl": {
    "h": 251.092,
    "s": 46.667,
    "l": 50
  },
  "oklch": {
    "l": 0.47967,
    "c": 0.1785,
    "h": 286
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#5A44BB
secondary
#BEC893
accent
#D651BE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5A44BB

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

Preview Lab → · Contrast checker → · Palette generator →

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