#5732BC#5732BC

#5732BC is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.201 H 287.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5732BC
RGBrgb(87, 50, 188)
HSLhsl(256, 58%, 47%)
HSVhsv(256, 73%, 74%)
CMYKcmyk(53.7%, 73.4%, 0%, 26.3%)
CIE-LABlab(33.85, 50.09, -66.64)
CIE-LCHlch(33.85, 83.36, 306.93°)
OKLaboklab(45.2% 0.0613 -0.1916)
OKLCHoklch(45.2% 0.201 287.7)
XYZxyz(14.1455, 7.9376, 48.3539)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5732BC #97BC32
analogous
#3252BC #5732BC #9C32BC
triadic
#5732BC #BC5732 #32BC57
tetradic
#5732BC #BC3252 #97BC32 #32BC9C
square
#5732BC #BC3252 #97BC32 #32BC9C
split-complementary
#5732BC #BC9C32 #52BC32
monochromatic
#2A185B #41258C #5732BC #7958D3 #A089E0

Accessibility & contrast

On white

8.12
#5732BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5732BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5732BC#FFFFFF#000000##FFFFFF
##5732BC1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#2E5774
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5732bc;
/* rgb */ color: rgb(87, 50, 188);
/* oklch */ color: oklch(45.2% 0.201 287.7);
Tailwind
colors: {
  custom: {
    50: '#916ed1',
    500: '#5732bc',
    950: '#000000',
  },
}
SCSS
$custom: #5732bc;
$custom-light: #916ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5732bc",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 256.087,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.20117,
    "h": 287.7
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#5732BC
secondary
#B6C980
accent
#E147B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5732BC

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

Preview Lab → · Contrast checker → · Palette generator →

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