#5A4CD0#5A4CD0

#5A4CD0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.9% C 0.195 H 281.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5A4CD0
RGBrgb(90, 76, 208)
HSLhsl(246, 58%, 56%)
HSVhsv(246, 63%, 82%)
CMYKcmyk(56.7%, 63.5%, 0%, 18.4%)
CIE-LABlab(41.05, 42.20, -66.51)
CIE-LCHlch(41.05, 78.77, 302.39°)
OKLaboklab(50.95% 0.0397 -0.1912)
OKLCHoklch(50.95% 0.195 281.7)
XYZxyz(18.1825, 11.8954, 61.0002)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4CD0 #C2D04C
analogous
#4C80D0 #5A4CD0 #9C4CD0
triadic
#5A4CD0 #D05A4C #4CD05A
tetradic
#5A4CD0 #D04C80 #C2D04C #4CD09C
square
#5A4CD0 #D04C80 #C2D04C #4CD09C
split-complementary
#5A4CD0 #D09C4C #80D04C
monochromatic
#2C2280 #3C2EB0 #5A4CD0 #877CDD #B3ADE9

Accessibility & contrast

On white

6.21
#5A4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5A4CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4CD0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4CD0#FFFFFF#000000##FFFFFF
##5A4CD01.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#1A6D87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a4cd0;
/* rgb */ color: rgb(90, 76, 208);
/* oklch */ color: oklch(50.9% 0.195 281.7);
Tailwind
colors: {
  custom: {
    50: '#947fdf',
    500: '#5a4cd0',
    950: '#000000',
  },
}
SCSS
$custom: #5a4cd0;
$custom-light: #947fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4cd0",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 246.364,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5095,
    "c": 0.19528,
    "h": 281.7
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#5A4CD0
secondary
#D2D7A0
accent
#E246D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5A4CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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