#5833AC#5833AC

#5833AC is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.181 H 291.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#5833AC
RGBrgb(88, 51, 172)
HSLhsl(258, 54%, 44%)
HSVhsv(258, 70%, 67%)
CMYKcmyk(48.8%, 70.3%, 0%, 32.5%)
CIE-LABlab(32.75, 45.19, -58.94)
CIE-LCHlch(32.75, 74.27, 307.48°)
OKLaboklab(44.01% 0.0652 -0.169)
OKLCHoklch(44.01% 0.181 291.1)
XYZxyz(12.6526, 7.4204, 39.7874)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5833AC #87AC33
analogous
#334AAC #5833AC #9433AC
triadic
#5833AC #AC5833 #33AC58
tetradic
#5833AC #AC334A #87AC33 #33AC94
square
#5833AC #AC334A #87AC33 #33AC94
split-complementary
#5833AC #AC9433 #4AAC33
monochromatic
#28174E #40257D #5833AC #7651CB #9B80D9

Accessibility & contrast

On white

8.45
#5833AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5833AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5833AC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5833AC#FFFFFF#000000##FFFFFF
##5833AC1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5833ac;
/* rgb */ color: rgb(88, 51, 172);
/* oklch */ color: oklch(44.0% 0.181 291.1);
Tailwind
colors: {
  custom: {
    50: '#8f6ec6',
    500: '#5833ac',
    950: '#000000',
  },
}
SCSS
$custom: #5833ac;
$custom-light: #8f6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5833ac",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 258.347,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44008,
    "c": 0.18117,
    "h": 291.1
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#5833AC
secondary
#ACC278
accent
#DE4AB1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5833AC

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

Preview Lab → · Contrast checker → · Palette generator →

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