#5A4DD9#5A4DD9

#5A4DD9 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.205 H 280.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5A4DD9
RGBrgb(90, 77, 217)
HSLhsl(246, 65%, 58%)
HSVhsv(246, 65%, 85%)
CMYKcmyk(58.5%, 64.5%, 0%, 14.9%)
CIE-LABlab(41.98, 44.41, -70.16)
CIE-LCHlch(41.98, 83.03, 302.34°)
OKLaboklab(51.85% 0.038 -0.2019)
OKLCHoklch(51.85% 0.205 280.6)
XYZxyz(19.3908, 12.4898, 67.0212)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4DD9 #CCD94D
analogous
#4D86D9 #5A4DD9 #A04DD9
triadic
#5A4DD9 #D95A4D #4DD95A
tetradic
#5A4DD9 #D94D86 #CCD94D #4DD9A0
square
#5A4DD9 #D94D86 #CCD94D #4DD9A0
split-complementary
#5A4DD9 #D9A04D #86D94D
monochromatic
#291E8D #3729C0 #5A4DD9 #897FE4 #B7B2EF

Accessibility & contrast

On white

6.00
#5A4DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5A4DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4DD9
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4DD9#FFFFFF#000000##FFFFFF
##5A4DD91.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#00708C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a4dd9;
/* rgb */ color: rgb(90, 77, 217);
/* oklch */ color: oklch(51.9% 0.205 280.6);
Tailwind
colors: {
  custom: {
    50: '#9580e6',
    500: '#5a4dd9',
    950: '#000000',
  },
}
SCSS
$custom: #5a4dd9;
$custom-light: #9580e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4dd9",
  "rgb": {
    "r": 90,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 245.571,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.20544,
    "h": 280.6
  },
  "luminance": 0.12491
}

Semantic roles & 50–950 ramp

primary
#5A4DD9
secondary
#D8DDA5
accent
#E840D8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5A4DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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