#5832B2#5832B2

#5832B2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.189 H 290.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5832B2
RGBrgb(88, 50, 178)
HSLhsl(258, 56%, 45%)
HSVhsv(258, 72%, 70%)
CMYKcmyk(50.6%, 71.9%, 0%, 30.2%)
CIE-LABlab(33.07, 47.41, -61.99)
CIE-LCHlch(33.07, 78.04, 307.41°)
OKLaboklab(44.4% 0.065 -0.178)
OKLCHoklch(44.4% 0.189 290.1)
XYZxyz(13.1987, 7.5697, 42.8765)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832B2 #8CB232
analogous
#324CB2 #5832B2 #9832B2
triadic
#5832B2 #B25832 #32B258
tetradic
#5832B2 #B2324C #8CB232 #32B298
square
#5832B2 #B2324C #8CB232 #32B298
split-complementary
#5832B2 #B29832 #4CB232
monochromatic
#291752 #402582 #5832B2 #7753CF #9D82DC

Accessibility & contrast

On white

8.35
#5832B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5832B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832B2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832B2#FFFFFF#000000##FFFFFF
##5832B21.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#39546F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5832b2;
/* rgb */ color: rgb(88, 50, 178);
/* oklch */ color: oklch(44.4% 0.189 290.1);
Tailwind
colors: {
  custom: {
    50: '#906dca',
    500: '#5832b2',
    950: '#000000',
  },
}
SCSS
$custom: #5832b2;
$custom-light: #906dca;
$custom-dark: #000000;
JSON
{
  "hex": "#5832b2",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 257.813,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44397,
    "c": 0.18945,
    "h": 290.1
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#5832B2
secondary
#AFC57B
accent
#DF48B3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5832B2

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

Preview Lab → · Contrast checker → · Palette generator →

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