#5732AA#5732AA

#5732AA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.180 H 291.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#5732AA
RGBrgb(87, 50, 170)
HSLhsl(259, 55%, 43%)
HSVhsv(259, 71%, 67%)
CMYKcmyk(48.8%, 70.6%, 0%, 33.3%)
CIE-LABlab(32.28, 44.98, -58.51)
CIE-LCHlch(32.28, 73.80, 307.55°)
OKLaboklab(43.6% 0.0651 -0.1678)
OKLCHoklch(43.6% 0.18 291.2)
XYZxyz(12.3247, 7.2093, 38.7646)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5732AA #85AA32
analogous
#3249AA #5732AA #9332AA
triadic
#5732AA #AA5732 #32AA57
tetradic
#5732AA #AA3249 #85AA32 #32AA93
square
#5732AA #AA3249 #85AA32 #32AA93
split-complementary
#5732AA #AA9332 #49AA32
monochromatic
#27164B #3F247B #5732AA #754ECB #9A7DD9

Accessibility & contrast

On white

8.60
#5732AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5732AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5732AA
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5732AA#FFFFFF#000000##FFFFFF
##5732AA1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#3C516A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5732aa;
/* rgb */ color: rgb(87, 50, 170);
/* oklch */ color: oklch(43.6% 0.180 291.2);
Tailwind
colors: {
  custom: {
    50: '#8e6dc4',
    500: '#5732aa',
    950: '#000000',
  },
}
SCSS
$custom: #5732aa;
$custom-light: #8e6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5732aa",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 258.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43598,
    "c": 0.17997,
    "h": 291.2
  },
  "luminance": 0.0721
}

Semantic roles & 50–950 ramp

primary
#5732AA
secondary
#AAC276
accent
#DE4AB0
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5732AA

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

Preview Lab → · Contrast checker → · Palette generator →

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