#5833A5#5833A5

#5833A5 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.173 H 292.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#5833A5
RGBrgb(88, 51, 165)
HSLhsl(259, 53%, 42%)
HSVhsv(259, 69%, 65%)
CMYKcmyk(46.7%, 69.1%, 0%, 35.3%)
CIE-LABlab(32.17, 43.21, -55.69)
CIE-LCHlch(32.17, 70.48, 307.81°)
OKLaboklab(43.41% 0.0665 -0.1595)
OKLCHoklch(43.41% 0.173 292.6)
XYZxyz(11.9980, 7.1586, 36.3396)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5833A5 #80A533
analogous
#3347A5 #5833A5 #9133A5
triadic
#5833A5 #A55833 #33A558
tetradic
#5833A5 #A53347 #80A533 #33A591
square
#5833A5 #A53347 #80A533 #33A591
split-complementary
#5833A5 #A59133 #47A533
monochromatic
#261648 #3F2576 #5833A5 #754DC8 #997CD6

Accessibility & contrast

On white

8.64
#5833A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5833A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5833A5#FFFFFF#000000##FFFFFF
##5833A51.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5833a5;
/* rgb */ color: rgb(88, 51, 165);
/* oklch */ color: oklch(43.4% 0.173 292.6);
Tailwind
colors: {
  custom: {
    50: '#8e6dc1',
    500: '#5833a5',
    950: '#000000',
  },
}
SCSS
$custom: #5833a5;
$custom-light: #8e6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#5833a5",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 259.474,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43413,
    "c": 0.17276,
    "h": 292.6
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#5833A5
secondary
#A7BF75
accent
#DC4CAD
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5833A5

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

Preview Lab → · Contrast checker → · Palette generator →

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