#5D23AE#5D23AE

#5D23AE is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.9% C 0.201 H 295.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#5D23AE
RGBrgb(93, 35, 174)
HSLhsl(265, 67%, 41%)
HSVhsv(265, 80%, 68%)
CMYKcmyk(46.6%, 79.9%, 0%, 31.8%)
CIE-LABlab(30.84, 54.07, -63.23)
CIE-LCHlch(30.84, 83.19, 310.53°)
OKLaboklab(42.85% 0.0858 -0.1813)
OKLCHoklch(42.85% 0.201 295.3)
XYZxyz(12.7531, 6.5849, 40.6353)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D23AE #74AE23
analogous
#232EAE #5D23AE #A223AE
triadic
#5D23AE #AE5D23 #23AE5D
tetradic
#5D23AE #AE232E #74AE23 #23AEA2
square
#5D23AE #AE232E #74AE23 #23AEA2
split-complementary
#5D23AE #AEA223 #2EAE23
monochromatic
#270F48 #42197B #5D23AE #7A37D7 #9C6AE1

Accessibility & contrast

On white

9.06
#5D23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5D23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D23AE
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D23AE#FFFFFF#000000##FFFFFF
##5D23AE1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#464B69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5d23ae;
/* rgb */ color: rgb(93, 35, 174);
/* oklch */ color: oklch(42.9% 0.201 295.3);
Tailwind
colors: {
  custom: {
    50: '#9366c7',
    500: '#5d23ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d23ae;
$custom-light: #9366c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d23ae",
  "rgb": {
    "r": 93,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 265.036,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.2006,
    "h": 295.3
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#5D23AE
secondary
#9EC766
accent
#E93EA2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5D23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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