#5A4DDC#5A4DDC

#5A4DDC is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.209 H 280.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5A4DDC
RGBrgb(90, 77, 220)
HSLhsl(245, 67%, 58%)
HSVhsv(245, 65%, 86%)
CMYKcmyk(59.1%, 65%, 0%, 13.7%)
CIE-LABlab(42.23, 45.34, -71.48)
CIE-LCHlch(42.23, 84.65, 302.39°)
OKLaboklab(52.1% 0.0377 -0.2058)
OKLCHoklch(52.1% 0.209 280.4)
XYZxyz(19.7845, 12.6473, 69.0949)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4DDC #CFDC4D
analogous
#4D87DC #5A4DDC #A24DDC
triadic
#5A4DDC #DC5A4D #4DDC5A
tetradic
#5A4DDC #DC4D87 #CFDC4D #4DDCA2
square
#5A4DDC #DC4D87 #CFDC4D #4DDCA2
split-complementary
#5A4DDC #DCA24D #87DC4D
monochromatic
#271D92 #3527C5 #5A4DDC #8980E6 #B9B3F0

Accessibility & contrast

On white

5.95
#5A4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A4DDC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4DDC#FFFFFF#000000##FFFFFF
##5A4DDC1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a4ddc;
/* rgb */ color: rgb(90, 77, 220);
/* oklch */ color: oklch(52.1% 0.209 280.4);
Tailwind
colors: {
  custom: {
    50: '#9580e8',
    500: '#5a4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #5a4ddc;
$custom-light: #9580e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4ddc",
  "rgb": {
    "r": 90,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 245.455,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.20919,
    "h": 280.4
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#5A4DDC
secondary
#DADFA6
accent
#EA3EDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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