#5832AC#5832AC

#5832AC is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.182 H 291.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#5832AC
RGBrgb(88, 50, 172)
HSLhsl(259, 55%, 44%)
HSVhsv(259, 71%, 67%)
CMYKcmyk(48.8%, 70.9%, 0%, 32.5%)
CIE-LABlab(32.56, 45.72, -59.25)
CIE-LCHlch(32.56, 74.84, 307.65°)
OKLaboklab(43.87% 0.0662 -0.1699)
OKLCHoklch(43.87% 0.182 291.3)
XYZxyz(12.6094, 7.3340, 39.7729)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832AC #86AC32
analogous
#3249AC #5832AC #9532AC
triadic
#5832AC #AC5832 #32AC58
tetradic
#5832AC #AC3249 #86AC32 #32AC95
square
#5832AC #AC3249 #86AC32 #32AC95
split-complementary
#5832AC #AC9532 #49AC32
monochromatic
#27164D #40247D #5832AC #764FCC #9B7FDA

Accessibility & contrast

On white

8.51
#5832AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5832AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832AC
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832AC#FFFFFF#000000##FFFFFF
##5832AC1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#3D516B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5832ac;
/* rgb */ color: rgb(88, 50, 172);
/* oklch */ color: oklch(43.9% 0.182 291.3);
Tailwind
colors: {
  custom: {
    50: '#8f6dc6',
    500: '#5832ac',
    950: '#000000',
  },
}
SCSS
$custom: #5832ac;
$custom-light: #8f6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5832ac",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 258.689,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43872,
    "c": 0.18235,
    "h": 291.3
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#5832AC
secondary
#ABC377
accent
#DE4AB0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5832AC

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

Preview Lab → · Contrast checker → · Palette generator →

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