#5833A2#5833A2

#5833A2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.169 H 293.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#5833A2
RGBrgb(88, 51, 162)
HSLhsl(260, 52%, 42%)
HSVhsv(260, 69%, 64%)
CMYKcmyk(45.7%, 68.5%, 0%, 36.5%)
CIE-LABlab(31.92, 42.36, -54.27)
CIE-LCHlch(31.92, 68.85, 307.97°)
OKLaboklab(43.16% 0.0669 -0.1553)
OKLCHoklch(43.16% 0.169 293.3)
XYZxyz(11.7281, 7.0506, 34.9184)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5833A2 #7DA233
analogous
#3346A2 #5833A2 #9033A2
triadic
#5833A2 #A25833 #33A258
tetradic
#5833A2 #A23346 #7DA233 #33A290
square
#5833A2 #A23346 #7DA233 #33A290
split-complementary
#5833A2 #A29033 #46A233
monochromatic
#251645 #3F2473 #5833A2 #754CC7 #997AD5

Accessibility & contrast

On white

8.71
#5833A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5833A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5833A2#FFFFFF#000000##FFFFFF
##5833A21.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#434E66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5833a2;
/* rgb */ color: rgb(88, 51, 162);
/* oklch */ color: oklch(43.2% 0.169 293.3);
Tailwind
colors: {
  custom: {
    50: '#8e6dbe',
    500: '#5833a2',
    950: '#000000',
  },
}
SCSS
$custom: #5833a2;
$custom-light: #8e6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5833a2",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 260,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43163,
    "c": 0.16911,
    "h": 293.3
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#5833A2
secondary
#A5BE73
accent
#DC4CAC
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5833A2

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

Preview Lab → · Contrast checker → · Palette generator →

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