#5823A9#5823A9

#5823A9 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.195 H 294.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5823A9
RGBrgb(88, 35, 169)
HSLhsl(264, 66%, 40%)
HSVhsv(264, 79%, 66%)
CMYKcmyk(47.9%, 79.3%, 0%, 33.7%)
CIE-LABlab(29.77, 52.06, -62.02)
CIE-LCHlch(29.77, 80.97, 310.01°)
OKLaboklab(41.83% 0.0797 -0.1779)
OKLCHoklch(41.83% 0.195 294.1)
XYZxyz(11.7850, 6.1410, 38.0928)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5823A9 #74A923
analogous
#2331A9 #5823A9 #9B23A9
triadic
#5823A9 #A95823 #23A958
tetradic
#5823A9 #A92331 #74A923 #23A99B
square
#5823A9 #A92331 #74A923 #23A99B
split-complementary
#5823A9 #A99B23 #31A923
monochromatic
#230E44 #3E1976 #5823A9 #7434D5 #9767DF

Accessibility & contrast

On white

9.42
#5823A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5823A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5823A9
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5823A9#FFFFFF#000000##FFFFFF
##5823A91.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#3F4966
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5823a9;
/* rgb */ color: rgb(88, 35, 169);
/* oklch */ color: oklch(41.8% 0.195 294.1);
Tailwind
colors: {
  custom: {
    50: '#9065c4',
    500: '#5823a9',
    950: '#000000',
  },
}
SCSS
$custom: #5823a9;
$custom-light: #9065c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5823a9",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 263.731,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.41826,
    "c": 0.19497,
    "h": 294.1
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#5823A9
secondary
#9EC563
accent
#E93FA6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5823A9

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

Preview Lab → · Contrast checker → · Palette generator →

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