#5832A5#5832A5

#5832A5 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.174 H 292.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#5832A5
RGBrgb(88, 50, 165)
HSLhsl(260, 53%, 42%)
HSVhsv(260, 70%, 65%)
CMYKcmyk(46.7%, 69.7%, 0%, 35.3%)
CIE-LABlab(31.97, 43.75, -56.00)
CIE-LCHlch(31.97, 71.07, 308.00°)
OKLaboklab(43.27% 0.0675 -0.1604)
OKLCHoklch(43.27% 0.174 292.8)
XYZxyz(11.9548, 7.0721, 36.3252)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832A5 #7FA532
analogous
#3246A5 #5832A5 #9232A5
triadic
#5832A5 #A55832 #32A558
tetradic
#5832A5 #A53246 #7FA532 #32A592
square
#5832A5 #A53246 #7FA532 #32A592
split-complementary
#5832A5 #A59232 #46A532
monochromatic
#261647 #3F2476 #5832A5 #754CC9 #997BD7

Accessibility & contrast

On white

8.70
#5832A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5832A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832A5
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832A5#FFFFFF#000000##FFFFFF
##5832A51.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#414F67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5832a5;
/* rgb */ color: rgb(88, 50, 165);
/* oklch */ color: oklch(43.3% 0.174 292.8);
Tailwind
colors: {
  custom: {
    50: '#8e6dc1',
    500: '#5832a5',
    950: '#000000',
  },
}
SCSS
$custom: #5832a5;
$custom-light: #8e6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#5832a5",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 259.826,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43274,
    "c": 0.17399,
    "h": 292.8
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#5832A5
secondary
#A6BF73
accent
#DD4BAD
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5832A5

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

Preview Lab → · Contrast checker → · Palette generator →

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