#5E23BC#5E23BC

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

Color values

HEX#5E23BC
RGBrgb(94, 35, 188)
HSLhsl(263, 69%, 44%)
HSVhsv(263, 81%, 74%)
CMYKcmyk(50%, 81.4%, 0%, 26.3%)
CIE-LABlab(32.28, 57.75, -69.18)
CIE-LCHlch(32.28, 90.12, 309.86°)
OKLaboklab(44.28% 0.0828 -0.1987)
OKLCHoklch(44.28% 0.215 292.6)
XYZxyz(14.2917, 7.2121, 48.2062)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E23BC #81BC23
analogous
#2334BC #5E23BC #AA23BC
triadic
#5E23BC #BC5E23 #23BC5E
tetradic
#5E23BC #BC2334 #81BC23 #23BCAA
square
#5E23BC #BC2334 #81BC23 #23BCAA
split-complementary
#5E23BC #BCAA23 #34BC23
monochromatic
#2A1055 #441988 #5E23BC #7C41DC #A074E5

Accessibility & contrast

On white

8.60
#5E23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5E23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E23BC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E23BC#FFFFFF#000000##FFFFFF
##5E23BC1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e23bc;
/* rgb */ color: rgb(94, 35, 188);
/* oklch */ color: oklch(44.3% 0.215 292.6);
Tailwind
colors: {
  custom: {
    50: '#9667d1',
    500: '#5e23bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e23bc;
$custom-light: #9667d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e23bc",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 263.137,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.21527,
    "h": 292.6
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#5E23BC
secondary
#A8CC6F
accent
#EB3CA8
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0614
muted
#7E7A83

Preview Lab

Preview with #5E23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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