#5E23AF#5E23AF

#5E23AF is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.1% C 0.202 H 295.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#5E23AF
RGBrgb(94, 35, 175)
HSLhsl(265, 67%, 41%)
HSVhsv(265, 80%, 69%)
CMYKcmyk(46.3%, 80%, 0%, 31.4%)
CIE-LABlab(31.06, 54.46, -63.47)
CIE-LCHlch(31.06, 83.63, 310.63°)
OKLaboklab(43.06% 0.087 -0.182)
OKLCHoklch(43.06% 0.202 295.6)
XYZxyz(12.9529, 6.6766, 41.1554)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E23AF #74AF23
analogous
#232EAF #5E23AF #A423AF
triadic
#5E23AF #AF5E23 #23AF5E
tetradic
#5E23AF #AF232E #74AF23 #23AFA4
square
#5E23AF #AF232E #74AF23 #23AFA4
split-complementary
#5E23AF #AFA423 #2EAF23
monochromatic
#270F49 #43197C #5E23AF #7B38D7 #9D6BE1

Accessibility & contrast

On white

8.99
#5E23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5E23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E23AF
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E23AF#FFFFFF#000000##FFFFFF
##5E23AF1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#474B69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5e23af;
/* rgb */ color: rgb(94, 35, 175);
/* oklch */ color: oklch(43.1% 0.202 295.6);
Tailwind
colors: {
  custom: {
    50: '#9466c8',
    500: '#5e23af',
    950: '#000000',
  },
}
SCSS
$custom: #5e23af;
$custom-light: #9466c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e23af",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 265.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4306,
    "c": 0.20173,
    "h": 295.6
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#5E23AF
secondary
#9FC766
accent
#EA3EA1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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