#5823A8#5823A8

#5823A8 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.194 H 294.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#5823A8
RGBrgb(88, 35, 168)
HSLhsl(264, 66%, 40%)
HSVhsv(264, 79%, 66%)
CMYKcmyk(47.6%, 79.2%, 0%, 34.1%)
CIE-LABlab(29.67, 51.80, -61.57)
CIE-LCHlch(29.67, 80.46, 310.07°)
OKLaboklab(41.73% 0.08 -0.1766)
OKLCHoklch(41.73% 0.194 294.4)
XYZxyz(11.6915, 6.1036, 37.6003)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5823A8 #73A823
analogous
#2330A8 #5823A8 #9B23A8
triadic
#5823A8 #A85823 #23A858
tetradic
#5823A8 #A82330 #73A823 #23A89B
square
#5823A8 #A82330 #73A823 #23A89B
split-complementary
#5823A8 #A89B23 #30A823
monochromatic
#230E43 #3D1875 #5823A8 #7434D5 #9666DF

Accessibility & contrast

On white

9.46
#5823A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5823A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5823A8
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5823A8#FFFFFF#000000##FFFFFF
##5823A81.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#404965
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5823a8;
/* rgb */ color: rgb(88, 35, 168);
/* oklch */ color: oklch(41.7% 0.194 294.4);
Tailwind
colors: {
  custom: {
    50: '#8f65c3',
    500: '#5823a8',
    950: '#000000',
  },
}
SCSS
$custom: #5823a8;
$custom-light: #8f65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5823a8",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 263.91,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41733,
    "c": 0.19391,
    "h": 294.4
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#5823A8
secondary
#9DC562
accent
#E83FA5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5823A8

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

Preview Lab → · Contrast checker → · Palette generator →

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