#5A49E1#5A49E1

#5A49E1 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.9% C 0.220 H 280.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5A49E1
RGBrgb(90, 73, 225)
HSLhsl(247, 72%, 58%)
HSVhsv(247, 68%, 88%)
CMYKcmyk(60%, 67.6%, 0%, 11.8%)
CIE-LABlab(41.80, 49.16, -75.02)
CIE-LCHlch(41.80, 89.69, 303.24°)
OKLaboklab(51.93% 0.0402 -0.2162)
OKLCHoklch(51.93% 0.22 280.5)
XYZxyz(20.1853, 12.3735, 72.5442)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49E1 #D0E149
analogous
#4984E1 #5A49E1 #A649E1
triadic
#5A49E1 #E15A49 #49E15A
tetradic
#5A49E1 #E14984 #D0E149 #49E1A6
square
#5A49E1 #E14984 #D0E149 #49E1A6
split-complementary
#5A49E1 #E1A649 #84E149
monochromatic
#271997 #3422CB #5A49E1 #8A7EEA #B9B2F2

Accessibility & contrast

On white

6.04
#5A49E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5A49E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49E1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49E1#FFFFFF#000000##FFFFFF
##5A49E11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a49e1;
/* rgb */ color: rgb(90, 73, 225);
/* oklch */ color: oklch(51.9% 0.220 280.5);
Tailwind
colors: {
  custom: {
    50: '#977dec',
    500: '#5a49e1',
    950: '#000000',
  },
}
SCSS
$custom: #5a49e1;
$custom-light: #977dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49e1",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 246.711,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51926,
    "c": 0.21987,
    "h": 280.5
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#5A49E1
secondary
#DAE1A5
accent
#EE39DA
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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