#5823BC#5823BC

#5823BC is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.215 H 290.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#5823BC
RGBrgb(88, 35, 188)
HSLhsl(261, 69%, 44%)
HSVhsv(261, 81%, 74%)
CMYKcmyk(53.2%, 81.4%, 0%, 26.3%)
CIE-LABlab(31.59, 57.01, -70.34)
CIE-LCHlch(31.59, 90.55, 309.02°)
OKLaboklab(43.65% 0.0735 -0.2023)
OKLCHoklch(43.65% 0.215 290)
XYZxyz(13.7000, 6.9070, 48.1785)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5823BC #87BC23
analogous
#233BBC #5823BC #A423BC
triadic
#5823BC #BC5823 #23BC58
tetradic
#5823BC #BC233B #87BC23 #23BCA4
square
#5823BC #BC233B #87BC23 #23BCA4
split-complementary
#5823BC #BCA423 #3BBC23
monochromatic
#281055 #401988 #5823BC #7641DC #9B74E5

Accessibility & contrast

On white

8.82
#5823BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5823BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5823BC
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5823BC#FFFFFF#000000##FFFFFF
##5823BC1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#325171
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5823bc;
/* rgb */ color: rgb(88, 35, 188);
/* oklch */ color: oklch(43.6% 0.215 290.0);
Tailwind
colors: {
  custom: {
    50: '#9266d1',
    500: '#5823bc',
    950: '#000000',
  },
}
SCSS
$custom: #5823bc;
$custom-light: #9266d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5823bc",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 260.784,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43646,
    "c": 0.21523,
    "h": 290
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#5823BC
secondary
#ACCC6F
accent
#EB3CAF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5823BC

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

Preview Lab → · Contrast checker → · Palette generator →

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