#5832B3#5832B3

#5832B3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.191 H 289.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#5832B3
RGBrgb(88, 50, 179)
HSLhsl(258, 56%, 45%)
HSVhsv(258, 72%, 70%)
CMYKcmyk(50.8%, 72.1%, 0%, 29.8%)
CIE-LABlab(33.16, 47.69, -62.44)
CIE-LCHlch(33.16, 78.57, 307.37°)
OKLaboklab(44.49% 0.0648 -0.1793)
OKLCHoklch(44.49% 0.191 289.9)
XYZxyz(13.2994, 7.6100, 43.4072)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832B3 #8DB332
analogous
#324DB3 #5832B3 #9832B3
triadic
#5832B3 #B35832 #32B358
tetradic
#5832B3 #B3324D #8DB332 #32B398
square
#5832B3 #B3324D #8DB332 #32B398
split-complementary
#5832B3 #B39832 #4DB332
monochromatic
#291753 #402583 #5832B3 #7853CF #9D83DC

Accessibility & contrast

On white

8.33
#5832B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5832B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832B3
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832B3#FFFFFF#000000##FFFFFF
##5832B31.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#38546F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5832b3;
/* rgb */ color: rgb(88, 50, 179);
/* oklch */ color: oklch(44.5% 0.191 289.9);
Tailwind
colors: {
  custom: {
    50: '#906dcb',
    500: '#5832b3',
    950: '#000000',
  },
}
SCSS
$custom: #5832b3;
$custom-light: #906dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5832b3",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 257.674,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44486,
    "c": 0.19062,
    "h": 289.9
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#5832B3
secondary
#B0C67B
accent
#E048B3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5832B3

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

Preview Lab → · Contrast checker → · Palette generator →

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