#5832AB#5832AB

#5832AB is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.181 H 291.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5832AB
RGBrgb(88, 50, 171)
HSLhsl(259, 55%, 43%)
HSVhsv(259, 71%, 67%)
CMYKcmyk(48.5%, 70.8%, 0%, 32.9%)
CIE-LABlab(32.47, 45.44, -58.79)
CIE-LCHlch(32.47, 74.30, 307.70°)
OKLaboklab(43.79% 0.0664 -0.1686)
OKLCHoklch(43.79% 0.181 291.5)
XYZxyz(12.5137, 7.2957, 39.2691)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832AB #85AB32
analogous
#3248AB #5832AB #9432AB
triadic
#5832AB #AB5832 #32AB58
tetradic
#5832AB #AB3248 #85AB32 #32AB94
square
#5832AB #AB3248 #85AB32 #32AB94
split-complementary
#5832AB #AB9432 #48AB32
monochromatic
#27164C #40247C #5832AB #764FCB #9B7ED9

Accessibility & contrast

On white

8.54
#5832AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5832AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832AB
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832AB#FFFFFF#000000##FFFFFF
##5832AB1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#3D516B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5832ab;
/* rgb */ color: rgb(88, 50, 171);
/* oklch */ color: oklch(43.8% 0.181 291.5);
Tailwind
colors: {
  custom: {
    50: '#8f6dc5',
    500: '#5832ab',
    950: '#000000',
  },
}
SCSS
$custom: #5832ab;
$custom-light: #8f6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5832ab",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 258.843,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43786,
    "c": 0.18117,
    "h": 291.5
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#5832AB
secondary
#AAC277
accent
#DE4AAF
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5832AB

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

Preview Lab → · Contrast checker → · Palette generator →

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