#5823BD#5823BD

#5823BD is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.7% C 0.216 H 289.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#5823BD
RGBrgb(88, 35, 189)
HSLhsl(261, 69%, 44%)
HSVhsv(261, 81%, 74%)
CMYKcmyk(53.4%, 81.5%, 0%, 25.9%)
CIE-LABlab(31.69, 57.27, -70.77)
CIE-LCHlch(31.69, 91.04, 308.98°)
OKLaboklab(43.74% 0.0732 -0.2035)
OKLCHoklch(43.74% 0.216 289.8)
XYZxyz(13.8082, 6.9503, 48.7482)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5823BD #88BD23
analogous
#233BBD #5823BD #A523BD
triadic
#5823BD #BD5823 #23BD58
tetradic
#5823BD #BD233B #88BD23 #23BDA5
square
#5823BD #BD233B #88BD23 #23BDA5
split-complementary
#5823BD #BDA523 #3BBD23
monochromatic
#281056 #401989 #5823BD #7741DC #9C75E5

Accessibility & contrast

On white

8.79
#5823BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5823BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5823BD
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5823BD#FFFFFF#000000##FFFFFF
##5823BD1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#315172
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5823bd;
/* rgb */ color: rgb(88, 35, 189);
/* oklch */ color: oklch(43.7% 0.216 289.8);
Tailwind
colors: {
  custom: {
    50: '#9266d2',
    500: '#5823bd',
    950: '#000000',
  },
}
SCSS
$custom: #5823bd;
$custom-light: #9266d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5823bd",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 260.649,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43744,
    "c": 0.21629,
    "h": 289.8
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#5823BD
secondary
#ACCD6F
accent
#EC3CAF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5823BD

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

Preview Lab → · Contrast checker → · Palette generator →

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