#5A4AE4#5A4AE4

#5A4AE4 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.222 H 280.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5A4AE4
RGBrgb(90, 74, 228)
HSLhsl(246, 74%, 59%)
HSVhsv(246, 68%, 89%)
CMYKcmyk(60.5%, 67.5%, 0%, 10.6%)
CIE-LABlab(42.26, 49.52, -75.97)
CIE-LCHlch(42.26, 90.68, 303.10°)
OKLaboklab(52.34% 0.039 -0.2189)
OKLCHoklch(52.34% 0.222 280.1)
XYZxyz(20.6644, 12.6711, 74.7406)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4AE4 #D4E44A
analogous
#4A87E4 #5A4AE4 #A74AE4
triadic
#5A4AE4 #E45A4A #4AE45A
tetradic
#5A4AE4 #E44A87 #D4E44A #4AE4A7
square
#5A4AE4 #E44A87 #D4E44A #4AE4A7
split-complementary
#5A4AE4 #E4A74A #87E44A
monochromatic
#25179C #321FD2 #5A4AE4 #8B7FEC #BBB5F4

Accessibility & contrast

On white

5.94
#5A4AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5A4AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4AE4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4AE4#FFFFFF#000000##FFFFFF
##5A4AE41.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a4ae4;
/* rgb */ color: rgb(90, 74, 228);
/* oklch */ color: oklch(52.3% 0.222 280.1);
Tailwind
colors: {
  custom: {
    50: '#977eee',
    500: '#5a4ae4',
    950: '#000000',
  },
}
SCSS
$custom: #5a4ae4;
$custom-light: #977eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4ae4",
  "rgb": {
    "r": 90,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 246.234,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.2224,
    "h": 280.1
  },
  "luminance": 0.12673
}

Semantic roles & 50–950 ramp

primary
#5A4AE4
secondary
#DDE3A7
accent
#F137DD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A4AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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