#5A44C5#5A44C5

#5A44C5 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.191 H 284.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5A44C5
RGBrgb(90, 68, 197)
HSLhsl(250, 53%, 52%)
HSVhsv(250, 65%, 77%)
CMYKcmyk(54.3%, 65.5%, 0%, 22.7%)
CIE-LABlab(38.44, 43.46, -64.39)
CIE-LCHlch(38.44, 77.68, 304.02°)
OKLaboklab(48.79% 0.0482 -0.185)
OKLCHoklch(48.79% 0.191 284.6)
XYZxyz(16.3586, 10.3382, 53.9460)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A44C5 #AFC544
analogous
#446EC5 #5A44C5 #9B44C5
triadic
#5A44C5 #C55A44 #44C55A
tetradic
#5A44C5 #C5446E #AFC544 #44C59B
square
#5A44C5 #C5446E #AFC544 #44C59B
split-complementary
#5A44C5 #C59B44 #6EC544
monochromatic
#2F226D #43309C #5A44C5 #8373D3 #ACA1E2

Accessibility & contrast

On white

6.85
#5A44C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5A44C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A44C5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A44C5#FFFFFF#000000##FFFFFF
##5A44C51.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#2B647E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5a44c5;
/* rgb */ color: rgb(90, 68, 197);
/* oklch */ color: oklch(48.8% 0.191 284.6);
Tailwind
colors: {
  custom: {
    50: '#9279d8',
    500: '#5a44c5',
    950: '#000000',
  },
}
SCSS
$custom: #5a44c5;
$custom-light: #9279d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a44c5",
  "rgb": {
    "r": 90,
    "g": 68,
    "b": 197
  },
  "hsl": {
    "h": 250.233,
    "s": 52.653,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48785,
    "c": 0.19116,
    "h": 284.6
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

primary
#5A44C5
secondary
#C5CF96
accent
#DC4CC3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A44C5

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

Preview Lab → · Contrast checker → · Palette generator →

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