#5D23B0#5D23B0

#5D23B0 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.0% C 0.203 H 294.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#5D23B0
RGBrgb(93, 35, 176)
HSLhsl(265, 67%, 41%)
HSVhsv(265, 80%, 69%)
CMYKcmyk(47.2%, 80.1%, 0%, 31%)
CIE-LABlab(31.03, 54.58, -64.12)
CIE-LCHlch(31.03, 84.20, 310.40°)
OKLaboklab(43.04% 0.0852 -0.1839)
OKLCHoklch(43.04% 0.203 294.8)
XYZxyz(12.9496, 6.6634, 41.6698)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D23B0 #76B023
analogous
#232FB0 #5D23B0 #A423B0
triadic
#5D23B0 #B05D23 #23B05D
tetradic
#5D23B0 #B0232F #76B023 #23B0A4
square
#5D23B0 #B0232F #76B023 #23B0A4
split-complementary
#5D23B0 #B0A423 #2FB023
monochromatic
#270F4A #42197D #5D23B0 #7A39D8 #9C6CE2

Accessibility & contrast

On white

9.00
#5D23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5D23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D23B0
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D23B0#FFFFFF#000000##FFFFFF
##5D23B01.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#444B6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5d23b0;
/* rgb */ color: rgb(93, 35, 176);
/* oklch */ color: oklch(43.0% 0.203 294.8);
Tailwind
colors: {
  custom: {
    50: '#9366c9',
    500: '#5d23b0',
    950: '#000000',
  },
}
SCSS
$custom: #5d23b0;
$custom-light: #9366c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d23b0",
  "rgb": {
    "r": 93,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 264.681,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43039,
    "c": 0.2027,
    "h": 294.8
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#5D23B0
secondary
#A0C867
accent
#EA3EA3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5D23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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