#5823B0#5823B0

#5823B0 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.5% C 0.202 H 292.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#5823B0
RGBrgb(88, 35, 176)
HSLhsl(263, 67%, 41%)
HSVhsv(263, 80%, 69%)
CMYKcmyk(50%, 80.1%, 0%, 31%)
CIE-LABlab(30.43, 53.88, -65.13)
CIE-LCHlch(30.43, 84.53, 309.60°)
OKLaboklab(42.49% 0.0775 -0.1871)
OKLCHoklch(42.49% 0.202 292.5)
XYZxyz(12.4598, 6.4109, 41.6468)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5823B0 #7BB023
analogous
#2335B0 #5823B0 #9F23B0
triadic
#5823B0 #B05823 #23B058
tetradic
#5823B0 #B02335 #7BB023 #23B09F
square
#5823B0 #B02335 #7BB023 #23B09F
split-complementary
#5823B0 #B09F23 #35B023
monochromatic
#250F4A #3E197D #5823B0 #7439D8 #986CE2

Accessibility & contrast

On white

9.20
#5823B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5823B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5823B0
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5823B0#FFFFFF#000000##FFFFFF
##5823B01.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#3B4C6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5823b0;
/* rgb */ color: rgb(88, 35, 176);
/* oklch */ color: oklch(42.5% 0.202 292.5);
Tailwind
colors: {
  custom: {
    50: '#9165c9',
    500: '#5823b0',
    950: '#000000',
  },
}
SCSS
$custom: #5823b0;
$custom-light: #9165c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5823b0",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 262.553,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42486,
    "c": 0.20247,
    "h": 292.5
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#5823B0
secondary
#A3C867
accent
#EA3EA9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5823B0

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

Preview Lab → · Contrast checker → · Palette generator →

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