#5823A0#5823A0

#5823A0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.185 H 296.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#5823A0
RGBrgb(88, 35, 160)
HSLhsl(265, 64%, 38%)
HSVhsv(265, 78%, 63%)
CMYKcmyk(45%, 78.1%, 0%, 37.3%)
CIE-LABlab(28.94, 49.73, -57.93)
CIE-LCHlch(28.94, 76.35, 310.64°)
OKLaboklab(41% 0.0824 -0.1659)
OKLCHoklch(41% 0.185 296.4)
XYZxyz(10.9690, 5.8146, 33.7953)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5823A0 #6BA023
analogous
#232CA0 #5823A0 #9623A0
triadic
#5823A0 #A05823 #23A058
tetradic
#5823A0 #A0232C #6BA023 #23A096
square
#5823A0 #A0232C #6BA023 #23A096
split-complementary
#5823A0 #A09623 #2CA023
monochromatic
#210D3C #3C186E #5823A0 #742FD1 #9561DC

Accessibility & contrast

On white

9.71
#5823A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5823A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5823A0
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5823A0#FFFFFF#000000##FFFFFF
##5823A01.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#444561
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5823a0;
/* rgb */ color: rgb(88, 35, 160);
/* oklch */ color: oklch(41.0% 0.185 296.4);
Tailwind
colors: {
  custom: {
    50: '#8e64bd',
    500: '#5823a0',
    950: '#000000',
  },
}
SCSS
$custom: #5823a0;
$custom-light: #8e64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5823a0",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 265.44,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40998,
    "c": 0.18527,
    "h": 296.4
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#5823A0
secondary
#97C15D
accent
#E741A1
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5823A0

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

Preview Lab → · Contrast checker → · Palette generator →

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