#5732BD#5732BD

#5732BD is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.3% C 0.202 H 287.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5732BD
RGBrgb(87, 50, 189)
HSLhsl(256, 58%, 47%)
HSVhsv(256, 74%, 74%)
CMYKcmyk(54%, 73.5%, 0%, 25.9%)
CIE-LABlab(33.94, 50.37, -67.08)
CIE-LCHlch(33.94, 83.89, 306.91°)
OKLaboklab(45.29% 0.061 -0.1929)
OKLCHoklch(45.29% 0.202 287.6)
XYZxyz(14.2537, 7.9808, 48.9236)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5732BD #98BD32
analogous
#3253BD #5732BD #9D32BD
triadic
#5732BD #BD5732 #32BD57
tetradic
#5732BD #BD3253 #98BD32 #32BD9D
square
#5732BD #BD3253 #98BD32 #32BD9D
split-complementary
#5732BD #BD9D32 #53BD32
monochromatic
#2A185C #41258D #5732BD #7A59D3 #A089E0

Accessibility & contrast

On white

8.09
#5732BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5732BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5732BD#FFFFFF#000000##FFFFFF
##5732BD1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#2D5875
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5732bd;
/* rgb */ color: rgb(87, 50, 189);
/* oklch */ color: oklch(45.3% 0.202 287.6);
Tailwind
colors: {
  custom: {
    50: '#916ed2',
    500: '#5732bd',
    950: '#000000',
  },
}
SCSS
$custom: #5732bd;
$custom-light: #916ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#5732bd",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 255.971,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4529,
    "c": 0.20234,
    "h": 287.6
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#5732BD
secondary
#B6CA81
accent
#E146B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5732BD

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

Preview Lab → · Contrast checker → · Palette generator →

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