#5A49D3#5A49D3

#5A49D3 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.203 H 282.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5A49D3
RGBrgb(90, 73, 211)
HSLhsl(247, 61%, 56%)
HSVhsv(247, 65%, 83%)
CMYKcmyk(57.3%, 65.4%, 0%, 17.3%)
CIE-LABlab(40.64, 44.86, -68.91)
CIE-LCHlch(40.64, 82.23, 303.07°)
OKLaboklab(50.73% 0.0421 -0.1982)
OKLCHoklch(50.73% 0.203 282)
XYZxyz(18.3532, 11.6407, 62.8951)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49D3 #C2D349
analogous
#497DD3 #5A49D3 #9F49D3
triadic
#5A49D3 #D35A49 #49D35A
tetradic
#5A49D3 #D3497D #C2D349 #49D39F
square
#5A49D3 #D3497D #C2D349 #49D39F
split-complementary
#5A49D3 #D39F49 #7DD349
monochromatic
#2C1F82 #3C2BB3 #5A49D3 #877ADF #B3ACEB

Accessibility & contrast

On white

6.31
#5A49D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5A49D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49D3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49D3#FFFFFF#000000##FFFFFF
##5A49D31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#146C88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a49d3;
/* rgb */ color: rgb(90, 73, 211);
/* oklch */ color: oklch(50.7% 0.203 282.0);
Tailwind
colors: {
  custom: {
    50: '#947de2',
    500: '#5a49d3',
    950: '#000000',
  },
}
SCSS
$custom: #5a49d3;
$custom-light: #947de2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49d3",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 211
  },
  "hsl": {
    "h": 247.391,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50727,
    "c": 0.20266,
    "h": 282
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#5A49D3
secondary
#D2D99F
accent
#E444D0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #5A49D3

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

Preview Lab → · Contrast checker → · Palette generator →

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