#5844AA#5844AA

#5844AA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.5% C 0.156 H 287.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5844AA
RGBrgb(88, 68, 170)
HSLhsl(252, 43%, 47%)
HSVhsv(252, 60%, 67%)
CMYKcmyk(48.2%, 60%, 0%, 33.3%)
CIE-LABlab(36.20, 34.89, -52.14)
CIE-LCHlch(36.20, 62.73, 303.79°)
OKLaboklab(46.46% 0.0476 -0.149)
OKLCHoklch(46.46% 0.156 287.7)
XYZxyz(13.3452, 9.1107, 39.0778)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5844AA #96AA44
analogous
#4463AA #5844AA #8B44AA
triadic
#5844AA #AA5844 #44AA58
tetradic
#5844AA #AA4463 #96AA44 #44AA8B
square
#5844AA #AA4463 #96AA44 #44AA8B
split-complementary
#5844AA #AA8B44 #63AA44
monochromatic
#2B2153 #41337E #5844AA #7A68C3 #A194D4

Accessibility & contrast

On white

7.44
#5844AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5844AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5844AA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5844AA#FFFFFF#000000##FFFFFF
##5844AA1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#3D5B70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5844aa;
/* rgb */ color: rgb(88, 68, 170);
/* oklch */ color: oklch(46.5% 0.156 287.7);
Tailwind
colors: {
  custom: {
    50: '#8d79c4',
    500: '#5844aa',
    950: '#000000',
  },
}
SCSS
$custom: #5844aa;
$custom-light: #8d79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5844aa",
  "rgb": {
    "r": 88,
    "g": 68,
    "b": 170
  },
  "hsl": {
    "h": 251.765,
    "s": 42.857,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46457,
    "c": 0.15645,
    "h": 287.7
  },
  "luminance": 0.09111
}

Semantic roles & 50–950 ramp

primary
#5844AA
secondary
#B5C08A
accent
#D355BA
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5844AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5844AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva