#5833AA#5833AA

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

Color values

HEX#5833AA
RGBrgb(88, 51, 170)
HSLhsl(259, 54%, 43%)
HSVhsv(259, 70%, 67%)
CMYKcmyk(48.2%, 70%, 0%, 33.3%)
CIE-LABlab(32.58, 44.62, -58.02)
CIE-LCHlch(32.58, 73.19, 307.57°)
OKLaboklab(43.84% 0.0656 -0.1663)
OKLCHoklch(43.84% 0.179 291.5)
XYZxyz(12.4620, 7.3442, 38.7834)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5833AA #85AA33
analogous
#334AAA #5833AA #9333AA
triadic
#5833AA #AA5833 #33AA58
tetradic
#5833AA #AA334A #85AA33 #33AA93
square
#5833AA #AA334A #85AA33 #33AA93
split-complementary
#5833AA #AA9333 #4AAA33
monochromatic
#27174C #40257B #5833AA #7650CA #9B7FD9

Accessibility & contrast

On white

8.51
#5833AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5833AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5833AA#FFFFFF#000000##FFFFFF
##5833AA1.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)
#004EAE
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#3E516A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5833aa;
/* rgb */ color: rgb(88, 51, 170);
/* oklch */ color: oklch(43.8% 0.179 291.5);
Tailwind
colors: {
  custom: {
    50: '#8f6ec4',
    500: '#5833aa',
    950: '#000000',
  },
}
SCSS
$custom: #5833aa;
$custom-light: #8f6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#5833aa",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 258.655,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43836,
    "c": 0.17877,
    "h": 291.5
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#5833AA
secondary
#AAC277
accent
#DD4BB0
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5833AA

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

Preview Lab → · Contrast checker → · Palette generator →

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