#5A43E1#5A43E1

#5A43E1 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.1% C 0.226 H 281.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5A43E1
RGBrgb(90, 67, 225)
HSLhsl(249, 72%, 57%)
HSVhsv(249, 70%, 88%)
CMYKcmyk(60%, 70.2%, 0%, 11.8%)
CIE-LABlab(40.61, 52.44, -76.98)
CIE-LCHlch(40.61, 93.14, 304.26°)
OKLaboklab(51.07% 0.0448 -0.2219)
OKLCHoklch(51.07% 0.226 281.4)
XYZxyz(19.8099, 11.6228, 72.4191)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43E1 #CAE143
analogous
#437BE1 #5A43E1 #A943E1
triadic
#5A43E1 #E15A43 #43E15A
tetradic
#5A43E1 #E1437B #CAE143 #43E1A9
square
#5A43E1 #E1437B #CAE143 #43E1A9
split-complementary
#5A43E1 #E1A943 #7BE143
monochromatic
#291792 #3820C7 #5A43E1 #8878E9 #B7ADF2

Accessibility & contrast

On white

6.32
#5A43E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5A43E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43E1
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43E1#FFFFFF#000000##FFFFFF
##5A43E11.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E6
Deuteranopia (green-blind)
#005ADE
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a43e1;
/* rgb */ color: rgb(90, 67, 225);
/* oklch */ color: oklch(51.1% 0.226 281.4);
Tailwind
colors: {
  custom: {
    50: '#977aec',
    500: '#5a43e1',
    950: '#000000',
  },
}
SCSS
$custom: #5a43e1;
$custom-light: #977aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43e1",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 225
  },
  "hsl": {
    "h": 248.734,
    "s": 72.477,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51071,
    "c": 0.22635,
    "h": 281.4
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#5A43E1
secondary
#D7E0A0
accent
#EF39D5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5A43E1

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

Preview Lab → · Contrast checker → · Palette generator →

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