#5832BD#5832BD

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

Color values

HEX#5832BD
RGBrgb(88, 50, 189)
HSLhsl(256, 58%, 47%)
HSVhsv(256, 74%, 74%)
CMYKcmyk(53.4%, 73.5%, 0%, 25.9%)
CIE-LABlab(34.04, 50.52, -66.91)
CIE-LCHlch(34.04, 83.84, 307.06°)
OKLaboklab(45.39% 0.0625 -0.1924)
OKLCHoklch(45.39% 0.202 288)
XYZxyz(14.3477, 8.0293, 48.9281)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832BD #97BD32
analogous
#3252BD #5832BD #9E32BD
triadic
#5832BD #BD5832 #32BD58
tetradic
#5832BD #BD3252 #97BD32 #32BD9E
square
#5832BD #BD3252 #97BD32 #32BD9E
split-complementary
#5832BD #BD9E32 #52BD32
monochromatic
#2B185C #41258D #5832BD #7A59D3 #A189E0

Accessibility & contrast

On white

8.06
#5832BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5832BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832BD
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832BD#FFFFFF#000000##FFFFFF
##5832BD1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5832bd;
/* rgb */ color: rgb(88, 50, 189);
/* oklch */ color: oklch(45.4% 0.202 288.0);
Tailwind
colors: {
  custom: {
    50: '#916ed2',
    500: '#5832bd',
    950: '#000000',
  },
}
SCSS
$custom: #5832bd;
$custom-light: #916ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#5832bd",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 256.403,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45385,
    "c": 0.20228,
    "h": 288
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5832BD

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

Preview Lab → · Contrast checker → · Palette generator →

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