#5E23AE#5E23AE

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

Color values

HEX#5E23AE
RGBrgb(94, 35, 174)
HSLhsl(265, 67%, 41%)
HSVhsv(265, 80%, 68%)
CMYKcmyk(46%, 79.9%, 0%, 31.8%)
CIE-LABlab(30.97, 54.21, -63.02)
CIE-LCHlch(30.97, 83.13, 310.70°)
OKLaboklab(42.97% 0.0874 -0.1807)
OKLCHoklch(42.97% 0.201 295.8)
XYZxyz(12.8551, 6.6374, 40.6400)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E23AE #73AE23
analogous
#232DAE #5E23AE #A323AE
triadic
#5E23AE #AE5E23 #23AE5E
tetradic
#5E23AE #AE232D #73AE23 #23AEA3
square
#5E23AE #AE232D #73AE23 #23AEA3
split-complementary
#5E23AE #AEA323 #2DAE23
monochromatic
#270F48 #42197B #5E23AE #7B37D7 #9D6AE1

Accessibility & contrast

On white

9.02
#5E23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E23AE
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E23AE#FFFFFF#000000##FFFFFF
##5E23AE1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#474A69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5e23ae;
/* rgb */ color: rgb(94, 35, 174);
/* oklch */ color: oklch(43.0% 0.201 295.8);
Tailwind
colors: {
  custom: {
    50: '#9466c7',
    500: '#5e23ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e23ae;
$custom-light: #9466c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e23ae",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 265.468,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42968,
    "c": 0.20069,
    "h": 295.8
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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