#5823A7#5823A7

#5823A7 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.193 H 294.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#5823A7
RGBrgb(88, 35, 167)
HSLhsl(264, 65%, 40%)
HSVhsv(264, 79%, 65%)
CMYKcmyk(47.3%, 79%, 0%, 34.5%)
CIE-LABlab(29.58, 51.54, -61.12)
CIE-LCHlch(29.58, 79.95, 310.14°)
OKLaboklab(41.64% 0.0803 -0.1753)
OKLCHoklch(41.64% 0.193 294.6)
XYZxyz(11.5987, 6.0665, 37.1116)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5823A7 #72A723
analogous
#2330A7 #5823A7 #9A23A7
triadic
#5823A7 #A75823 #23A758
tetradic
#5823A7 #A72330 #72A723 #23A79A
square
#5823A7 #A72330 #72A723 #23A79A
split-complementary
#5823A7 #A79A23 #30A723
monochromatic
#230E42 #3D1874 #5823A7 #7433D4 #9666DF

Accessibility & contrast

On white

9.49
#5823A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5823A7
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5823A7#FFFFFF#000000##FFFFFF
##5823A71.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#414865
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5823a7;
/* rgb */ color: rgb(88, 35, 167);
/* oklch */ color: oklch(41.6% 0.193 294.6);
Tailwind
colors: {
  custom: {
    50: '#8f65c2',
    500: '#5823a7',
    950: '#000000',
  },
}
SCSS
$custom: #5823a7;
$custom-light: #8f65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5823a7",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 264.091,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.19282,
    "h": 294.6
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5823A7

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

Preview Lab → · Contrast checker → · Palette generator →

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