#5823A6#5823A6

#5823A6 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.192 H 294.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5823A6
RGBrgb(88, 35, 166)
HSLhsl(264, 65%, 39%)
HSVhsv(264, 79%, 65%)
CMYKcmyk(47%, 78.9%, 0%, 34.9%)
CIE-LABlab(29.49, 51.28, -60.67)
CIE-LCHlch(29.49, 79.44, 310.21°)
OKLaboklab(41.55% 0.0806 -0.174)
OKLCHoklch(41.55% 0.192 294.9)
XYZxyz(11.5066, 6.0296, 36.6266)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5823A6 #71A623
analogous
#232FA6 #5823A6 #9A23A6
triadic
#5823A6 #A65823 #23A658
tetradic
#5823A6 #A6232F #71A623 #23A69A
square
#5823A6 #A6232F #71A623 #23A69A
split-complementary
#5823A6 #A69A23 #2FA623
monochromatic
#220E41 #3D1873 #5823A6 #7432D4 #9665DF

Accessibility & contrast

On white

9.52
#5823A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5823A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5823A6
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5823A6#FFFFFF#000000##FFFFFF
##5823A61.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#414864
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5823a6;
/* rgb */ color: rgb(88, 35, 166);
/* oklch */ color: oklch(41.5% 0.192 294.9);
Tailwind
colors: {
  custom: {
    50: '#8f65c1',
    500: '#5823a6',
    950: '#000000',
  },
}
SCSS
$custom: #5823a6;
$custom-light: #8f65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5823a6",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 264.275,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41547,
    "c": 0.19175,
    "h": 294.9
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#5823A6
secondary
#9CC461
accent
#E840A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5823A6

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

Preview Lab → · Contrast checker → · Palette generator →

#5823A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva