#5A43D1#5A43D1

#5A43D1 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.7% C 0.207 H 283.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5A43D1
RGBrgb(90, 67, 209)
HSLhsl(250, 61%, 54%)
HSVhsv(250, 68%, 82%)
CMYKcmyk(56.9%, 67.9%, 0%, 18%)
CIE-LABlab(39.23, 47.64, -70.07)
CIE-LCHlch(39.23, 84.73, 304.21°)
OKLaboklab(49.66% 0.0475 -0.2016)
OKLCHoklch(49.66% 0.207 283.2)
XYZxyz(17.7287, 10.7903, 61.4578)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43D1 #BAD143
analogous
#4373D1 #5A43D1 #A143D1
triadic
#5A43D1 #D15A43 #43D15A
tetradic
#5A43D1 #D14373 #BAD143 #43D1A1
square
#5A43D1 #D14373 #BAD143 #43D1A1
split-complementary
#5A43D1 #D1A143 #73D143
monochromatic
#2D1E7B #3F2AAD #5A43D1 #8574DD #B0A5E9

Accessibility & contrast

On white

6.65
#5A43D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5A43D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43D1
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43D1#FFFFFF#000000##FFFFFF
##5A43D11.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0058CE
Tritanopia (blue-blind)
#1A6885
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5a43d1;
/* rgb */ color: rgb(90, 67, 209);
/* oklch */ color: oklch(49.7% 0.207 283.2);
Tailwind
colors: {
  custom: {
    50: '#9479e0',
    500: '#5a43d1',
    950: '#000000',
  },
}
SCSS
$custom: #5a43d1;
$custom-light: #9479e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43d1",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 209
  },
  "hsl": {
    "h": 249.718,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.20716,
    "h": 283.2
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#5A43D1
secondary
#CCD69A
accent
#E444CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A43D1

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

Preview Lab → · Contrast checker → · Palette generator →

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