#5823A5#5823A5

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

Color values

HEX#5823A5
RGBrgb(88, 35, 165)
HSLhsl(264, 65%, 39%)
HSVhsv(264, 79%, 65%)
CMYKcmyk(46.7%, 78.8%, 0%, 35.3%)
CIE-LABlab(29.39, 51.02, -60.21)
CIE-LCHlch(29.39, 78.92, 310.28°)
OKLaboklab(41.46% 0.0809 -0.1726)
OKLCHoklch(41.46% 0.191 295.1)
XYZxyz(11.4152, 5.9931, 36.1453)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5823A5 #70A523
analogous
#232FA5 #5823A5 #9923A5
triadic
#5823A5 #A55823 #23A558
tetradic
#5823A5 #A5232F #70A523 #23A599
square
#5823A5 #A5232F #70A523 #23A599
split-complementary
#5823A5 #A59923 #2FA523
monochromatic
#220E40 #3D1873 #5823A5 #7432D3 #9664DE

Accessibility & contrast

On white

9.55
#5823A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5823A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5823A5
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5823A5#FFFFFF#000000##FFFFFF
##5823A51.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#424764
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5823a5;
/* rgb */ color: rgb(88, 35, 165);
/* oklch */ color: oklch(41.5% 0.191 295.1);
Tailwind
colors: {
  custom: {
    50: '#8f65c1',
    500: '#5823a5',
    950: '#000000',
  },
}
SCSS
$custom: #5823a5;
$custom-light: #8f65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5823a5",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 264.462,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41455,
    "c": 0.19067,
    "h": 295.1
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#5823A5
secondary
#9BC460
accent
#E840A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5823A5

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

Preview Lab → · Contrast checker → · Palette generator →

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