#5833A8#5833A8

#5833A8 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.176 H 292.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5833A8
RGBrgb(88, 51, 168)
HSLhsl(259, 53%, 43%)
HSVhsv(259, 70%, 66%)
CMYKcmyk(47.6%, 69.6%, 0%, 34.1%)
CIE-LABlab(32.41, 44.06, -57.09)
CIE-LCHlch(32.41, 72.11, 307.66°)
OKLaboklab(43.67% 0.066 -0.1636)
OKLCHoklch(43.67% 0.176 292)
XYZxyz(12.2742, 7.2691, 37.7945)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5833A8 #83A833
analogous
#3349A8 #5833A8 #9233A8
triadic
#5833A8 #A85833 #33A858
tetradic
#5833A8 #A83349 #83A833 #33A892
square
#5833A8 #A83349 #83A833 #33A892
split-complementary
#5833A8 #A89233 #49A833
monochromatic
#27164A #3F2579 #5833A8 #764FC9 #9A7ED8

Accessibility & contrast

On white

8.56
#5833A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5833A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5833A8#FFFFFF#000000##FFFFFF
##5833A81.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#3F5069
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5833a8;
/* rgb */ color: rgb(88, 51, 168);
/* oklch */ color: oklch(43.7% 0.176 292.0);
Tailwind
colors: {
  custom: {
    50: '#8e6ec3',
    500: '#5833a8',
    950: '#000000',
  },
}
SCSS
$custom: #5833a8;
$custom-light: #8e6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#5833a8",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 258.974,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43666,
    "c": 0.17637,
    "h": 292
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#5833A8
secondary
#A9C176
accent
#DD4BAF
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5833A8

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

Preview Lab → · Contrast checker → · Palette generator →

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