#5A44BA#5A44BA

#5A44BA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.9% C 0.177 H 286.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5A44BA
RGBrgb(90, 68, 186)
HSLhsl(251, 46%, 50%)
HSVhsv(251, 63%, 73%)
CMYKcmyk(51.6%, 63.4%, 0%, 27.1%)
CIE-LABlab(37.58, 40.13, -59.36)
CIE-LCHlch(37.58, 71.66, 304.06°)
OKLaboklab(47.89% 0.0493 -0.1702)
OKLCHoklch(47.89% 0.177 286.2)
XYZxyz(15.1439, 9.8523, 47.5486)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A44BA #A4BA44
analogous
#4469BA #5A44BA #9544BA
triadic
#5A44BA #BA5A44 #44BA5A
tetradic
#5A44BA #BA4469 #A4BA44 #44BA95
square
#5A44BA #BA4469 #A4BA44 #44BA95
split-complementary
#5A44BA #BA9544 #69BA44
monochromatic
#2F2360 #44348D #5A44BA #8170CB #A99DDB

Accessibility & contrast

On white

7.07
#5A44BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5A44BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A44BA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A44BA#FFFFFF#000000##FFFFFF
##5A44BA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#356179
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5a44ba;
/* rgb */ color: rgb(90, 68, 186);
/* oklch */ color: oklch(47.9% 0.177 286.2);
Tailwind
colors: {
  custom: {
    50: '#9179d0',
    500: '#5a44ba',
    950: '#000000',
  },
}
SCSS
$custom: #5a44ba;
$custom-light: #9179d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a44ba",
  "rgb": {
    "r": 90,
    "g": 68,
    "b": 186
  },
  "hsl": {
    "h": 251.186,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47886,
    "c": 0.17722,
    "h": 286.2
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#5A44BA
secondary
#BEC892
accent
#D652BD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5A44BA

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

Preview Lab → · Contrast checker → · Palette generator →

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