#5A43DB#5A43DB

#5A43DB is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.5% C 0.219 H 282.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5A43DB
RGBrgb(90, 67, 219)
HSLhsl(249, 68%, 56%)
HSVhsv(249, 69%, 86%)
CMYKcmyk(58.9%, 69.4%, 0%, 14.1%)
CIE-LABlab(40.08, 50.65, -74.41)
CIE-LCHlch(40.08, 90.01, 304.24°)
OKLaboklab(50.53% 0.0458 -0.2144)
OKLCHoklch(50.53% 0.219 282.1)
XYZxyz(19.0058, 11.3011, 68.1839)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43DB #C4DB43
analogous
#4378DB #5A43DB #A643DB
triadic
#5A43DB #DB5A43 #43DB5A
tetradic
#5A43DB #DB4378 #C4DB43 #43DBA6
square
#5A43DB #DB4378 #C4DB43 #43DBA6
split-complementary
#5A43DB #DBA643 #78DB43
monochromatic
#2B1A89 #3B24BD #5A43DB #8776E5 #B4AAEF

Accessibility & contrast

On white

6.44
#5A43DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5A43DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43DB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43DB#FFFFFF#000000##FFFFFF
##5A43DB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0059D8
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a43db;
/* rgb */ color: rgb(90, 67, 219);
/* oklch */ color: oklch(50.5% 0.219 282.1);
Tailwind
colors: {
  custom: {
    50: '#9679e7',
    500: '#5a43db',
    950: '#000000',
  },
}
SCSS
$custom: #5a43db;
$custom-light: #9679e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43db",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 249.079,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50534,
    "c": 0.21922,
    "h": 282.1
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#5A43DB
secondary
#D3DC9E
accent
#EB3DD0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5A43DB

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

Preview Lab → · Contrast checker → · Palette generator →

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