#5A44C8#5A44C8

#5A44C8 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.195 H 284.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5A44C8
RGBrgb(90, 68, 200)
HSLhsl(250, 55%, 53%)
HSVhsv(250, 66%, 78%)
CMYKcmyk(55%, 66%, 0%, 21.6%)
CIE-LABlab(38.69, 44.36, -65.74)
CIE-LCHlch(38.69, 79.31, 304.01°)
OKLaboklab(49.04% 0.0478 -0.1889)
OKLCHoklch(49.04% 0.195 284.2)
XYZxyz(16.7057, 10.4771, 55.7744)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A44C8 #B2C844
analogous
#4470C8 #5A44C8 #9C44C8
triadic
#5A44C8 #C85A44 #44C85A
tetradic
#5A44C8 #C84470 #B2C844 #44C89C
square
#5A44C8 #C84470 #B2C844 #44C89C
split-complementary
#5A44C8 #C89C44 #70C844
monochromatic
#2E2171 #422FA0 #5A44C8 #8473D6 #ADA3E4

Accessibility & contrast

On white

6.78
#5A44C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5A44C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A44C8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A44C8#FFFFFF#000000##FFFFFF
##5A44C81.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#276580
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5a44c8;
/* rgb */ color: rgb(90, 68, 200);
/* oklch */ color: oklch(49.0% 0.195 284.2);
Tailwind
colors: {
  custom: {
    50: '#9379da',
    500: '#5a44c8',
    950: '#000000',
  },
}
SCSS
$custom: #5a44c8;
$custom-light: #9379da;
$custom-dark: #000000;
JSON
{
  "hex": "#5a44c8",
  "rgb": {
    "r": 90,
    "g": 68,
    "b": 200
  },
  "hsl": {
    "h": 250,
    "s": 54.545,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49036,
    "c": 0.1949,
    "h": 284.2
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#5A44C8
secondary
#C7D197
accent
#DE4AC5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A44C8

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

Preview Lab → · Contrast checker → · Palette generator →

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