#5732AE#5732AE

#5732AE is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.185 H 290.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5732AE
RGBrgb(87, 50, 174)
HSLhsl(258, 55%, 44%)
HSVhsv(258, 71%, 68%)
CMYKcmyk(50%, 71.3%, 0%, 31.8%)
CIE-LABlab(32.62, 46.11, -60.35)
CIE-LCHlch(32.62, 75.95, 307.38°)
OKLaboklab(43.95% 0.0643 -0.1732)
OKLCHoklch(43.95% 0.185 290.4)
XYZxyz(12.7089, 7.3629, 40.7877)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5732AE #89AE32
analogous
#324BAE #5732AE #9532AE
triadic
#5732AE #AE5732 #32AE57
tetradic
#5732AE #AE324B #89AE32 #32AE95
square
#5732AE #AE324B #89AE32 #32AE95
split-complementary
#5732AE #AE9532 #4BAE32
monochromatic
#27174F #3F247E #5732AE #7650CD #9B80DA

Accessibility & contrast

On white

8.49
#5732AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5732AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5732AE#FFFFFF#000000##FFFFFF
##5732AE1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#39526C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5732ae;
/* rgb */ color: rgb(87, 50, 174);
/* oklch */ color: oklch(43.9% 0.185 290.4);
Tailwind
colors: {
  custom: {
    50: '#8f6dc7',
    500: '#5732ae',
    950: '#000000',
  },
}
SCSS
$custom: #5732ae;
$custom-light: #8f6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5732ae",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 257.903,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43946,
    "c": 0.18474,
    "h": 290.4
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#5732AE
secondary
#ADC478
accent
#DF49B2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5732AE

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

Preview Lab → · Contrast checker → · Palette generator →

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