#5A4BDD#5A4BDD

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

Color values

HEX#5A4BDD
RGBrgb(90, 75, 221)
HSLhsl(246, 68%, 58%)
HSVhsv(246, 66%, 87%)
CMYKcmyk(59.3%, 66.1%, 0%, 13.3%)
CIE-LABlab(41.88, 46.80, -72.61)
CIE-LCHlch(41.88, 86.38, 302.80°)
OKLaboklab(51.88% 0.0392 -0.2091)
OKLCHoklch(51.88% 0.213 280.6)
XYZxyz(19.7796, 12.4249, 69.7485)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BDD #CEDD4B
analogous
#4B85DD #5A4BDD #A34BDD
triadic
#5A4BDD #DD5A4B #4BDD5A
tetradic
#5A4BDD #DD4B85 #CEDD4B #4BDDA3
square
#5A4BDD #DD4B85 #CEDD4B #4BDDA3
split-complementary
#5A4BDD #DDA34B #85DD4B
monochromatic
#281C92 #3625C5 #5A4BDD #897EE7 #B8B2F0

Accessibility & contrast

On white

6.03
#5A4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5A4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4BDD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4BDD#FFFFFF#000000##FFFFFF
##5A4BDD1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a4bdd;
/* rgb */ color: rgb(90, 75, 221);
/* oklch */ color: oklch(51.9% 0.213 280.6);
Tailwind
colors: {
  custom: {
    50: '#967ee9',
    500: '#5a4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #5a4bdd;
$custom-light: #967ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4bdd",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 246.164,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5188,
    "c": 0.21273,
    "h": 280.6
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#5A4BDD
secondary
#D9DFA5
accent
#EB3DD9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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