#5A4ABE#5A4ABE

#5A4ABE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.2% C 0.175 H 284.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5A4ABE
RGBrgb(90, 74, 190)
HSLhsl(248, 47%, 52%)
HSVhsv(248, 61%, 75%)
CMYKcmyk(52.6%, 61.1%, 0%, 25.5%)
CIE-LABlab(39.22, 37.81, -59.04)
CIE-LCHlch(39.22, 70.10, 302.63°)
OKLaboklab(49.18% 0.0429 -0.1692)
OKLCHoklch(49.18% 0.175 284.2)
XYZxyz(15.9567, 10.7881, 49.9467)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4ABE #AEBE4A
analogous
#4A74BE #5A4ABE #944ABE
triadic
#5A4ABE #BE5A4A #4ABE5A
tetradic
#5A4ABE #BE4A74 #AEBE4A #4ABE94
square
#5A4ABE #BE4A74 #AEBE4A #4ABE94
split-complementary
#5A4ABE #BE944A #74BE4A
monochromatic
#2F2568 #433695 #5A4ABE #8377CE #ACA4DE

Accessibility & contrast

On white

6.65
#5A4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5A4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4ABE
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4ABE#FFFFFF#000000##FFFFFF
##5A4ABE1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#31667D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5a4abe;
/* rgb */ color: rgb(90, 74, 190);
/* oklch */ color: oklch(49.2% 0.175 284.2);
Tailwind
colors: {
  custom: {
    50: '#917dd2',
    500: '#5a4abe',
    950: '#000000',
  },
}
SCSS
$custom: #5a4abe;
$custom-light: #917dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4abe",
  "rgb": {
    "r": 90,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 248.276,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49182,
    "c": 0.17459,
    "h": 284.2
  },
  "luminance": 0.10789
}

Semantic roles & 50–950 ramp

primary
#5A4ABE
secondary
#C4CB98
accent
#D751C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5A4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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