#5A4CDB#5A4CDB

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

Color values

HEX#5A4CDB
RGBrgb(90, 76, 219)
HSLhsl(246, 67%, 58%)
HSVhsv(246, 65%, 86%)
CMYKcmyk(58.9%, 65.3%, 0%, 14.1%)
CIE-LABlab(41.93, 45.61, -71.39)
CIE-LCHlch(41.93, 84.71, 302.57°)
OKLaboklab(51.86% 0.0386 -0.2055)
OKLCHoklch(51.86% 0.209 280.6)
XYZxyz(19.5830, 12.4556, 68.3763)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4CDB #CDDB4C
analogous
#4C85DB #5A4CDB #A14CDB
triadic
#5A4CDB #DB5A4C #4CDB5A
tetradic
#5A4CDB #DB4C85 #CDDB4C #4CDBA1
square
#5A4CDB #DB4C85 #CDDB4C #4CDBA1
split-complementary
#5A4CDB #DBA14C #85DB4C
monochromatic
#281D90 #3627C3 #5A4CDB #897FE5 #B8B2EF

Accessibility & contrast

On white

6.01
#5A4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A4CDB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4CDB#FFFFFF#000000##FFFFFF
##5A4CDB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#00718D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a4cdb;
/* rgb */ color: rgb(90, 76, 219);
/* oklch */ color: oklch(51.9% 0.209 280.6);
Tailwind
colors: {
  custom: {
    50: '#957fe7',
    500: '#5a4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #5a4cdb;
$custom-light: #957fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4cdb",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 245.874,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51864,
    "c": 0.2091,
    "h": 280.6
  },
  "luminance": 0.12457
}

Semantic roles & 50–950 ramp

primary
#5A4CDB
secondary
#D8DEA5
accent
#E93ED9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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