#5732BB#5732BB

#5732BB is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.200 H 287.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#5732BB
RGBrgb(87, 50, 187)
HSLhsl(256, 58%, 46%)
HSVhsv(256, 73%, 73%)
CMYKcmyk(53.5%, 73.3%, 0%, 26.7%)
CIE-LABlab(33.76, 49.80, -66.19)
CIE-LCHlch(33.76, 82.84, 306.96°)
OKLaboklab(45.11% 0.0615 -0.1903)
OKLCHoklch(45.11% 0.2 287.9)
XYZxyz(14.0381, 7.8946, 47.7882)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5732BB #96BB32
analogous
#3252BB #5732BB #9C32BB
triadic
#5732BB #BB5732 #32BB57
tetradic
#5732BB #BB3252 #96BB32 #32BB9C
square
#5732BB #BB3252 #96BB32 #32BB9C
split-complementary
#5732BB #BB9C32 #52BB32
monochromatic
#2A185A #41258B #5732BB #7958D2 #A088DF

Accessibility & contrast

On white

8.14
#5732BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5732BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5732BB#FFFFFF#000000##FFFFFF
##5732BB1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#2F5774
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5732bb;
/* rgb */ color: rgb(87, 50, 187);
/* oklch */ color: oklch(45.1% 0.200 287.9);
Tailwind
colors: {
  custom: {
    50: '#916ed1',
    500: '#5732bb',
    950: '#000000',
  },
}
SCSS
$custom: #5732bb;
$custom-light: #916ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5732bb",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 256.204,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45107,
    "c": 0.20001,
    "h": 287.9
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#5732BB
secondary
#B5C980
accent
#E147B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5732BB

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

Preview Lab → · Contrast checker → · Palette generator →

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