#5D23BC#5D23BC

#5D23BC is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.215 H 292.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5D23BC
RGBrgb(93, 35, 188)
HSLhsl(263, 69%, 44%)
HSVhsv(263, 81%, 74%)
CMYKcmyk(50.5%, 81.4%, 0%, 26.3%)
CIE-LABlab(32.17, 57.63, -69.38)
CIE-LCHlch(32.17, 90.19, 309.71°)
OKLaboklab(44.17% 0.0812 -0.1993)
OKLCHoklch(44.17% 0.215 292.2)
XYZxyz(14.1898, 7.1595, 48.2015)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D23BC #82BC23
analogous
#2335BC #5D23BC #A923BC
triadic
#5D23BC #BC5D23 #23BC5D
tetradic
#5D23BC #BC2335 #82BC23 #23BCA9
square
#5D23BC #BC2335 #82BC23 #23BCA9
split-complementary
#5D23BC #BCA923 #35BC23
monochromatic
#2A1055 #431988 #5D23BC #7B41DC #9F74E5

Accessibility & contrast

On white

8.63
#5D23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5D23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D23BC
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D23BC#FFFFFF#000000##FFFFFF
##5D23BC1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#3D5171
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d23bc;
/* rgb */ color: rgb(93, 35, 188);
/* oklch */ color: oklch(44.2% 0.215 292.2);
Tailwind
colors: {
  custom: {
    50: '#9566d1',
    500: '#5d23bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d23bc;
$custom-light: #9566d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d23bc",
  "rgb": {
    "r": 93,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 262.745,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44173,
    "c": 0.21524,
    "h": 292.2
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#5D23BC
secondary
#A9CC6F
accent
#EB3CA9
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5D23BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5D23BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva