#5A49BF#5A49BF

#5A49BF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.1% C 0.177 H 284.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5A49BF
RGBrgb(90, 73, 191)
HSLhsl(249, 48%, 52%)
HSVhsv(249, 62%, 75%)
CMYKcmyk(52.9%, 61.8%, 0%, 25.1%)
CIE-LABlab(39.07, 38.71, -59.87)
CIE-LCHlch(39.07, 71.29, 302.89°)
OKLaboklab(49.1% 0.0439 -0.1717)
OKLCHoklch(49.1% 0.177 284.3)
XYZxyz(16.0001, 10.6995, 50.5022)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49BF #AEBF49
analogous
#4973BF #5A49BF #9549BF
triadic
#5A49BF #BF5A49 #49BF5A
tetradic
#5A49BF #BF4973 #AEBF49 #49BF95
square
#5A49BF #BF4973 #AEBF49 #49BF95
split-complementary
#5A49BF #BF9549 #73BF49
monochromatic
#2F2569 #433596 #5A49BF #8376CF #ACA4DF

Accessibility & contrast

On white

6.69
#5A49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5A49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49BF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49BF#FFFFFF#000000##FFFFFF
##5A49BF1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#30657D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5a49bf;
/* rgb */ color: rgb(90, 73, 191);
/* oklch */ color: oklch(49.1% 0.177 284.3);
Tailwind
colors: {
  custom: {
    50: '#917cd3',
    500: '#5a49bf',
    950: '#000000',
  },
}
SCSS
$custom: #5a49bf;
$custom-light: #917cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49bf",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 248.644,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49095,
    "c": 0.1772,
    "h": 284.3
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#5A49BF
secondary
#C4CC98
accent
#D850C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5A49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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