#5E2CAC#5E2CAC

#5E2CAC is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.189 H 295.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5E2CAC
RGBrgb(94, 44, 172)
HSLhsl(263, 59%, 42%)
HSVhsv(263, 74%, 67%)
CMYKcmyk(45.3%, 74.4%, 0%, 32.5%)
CIE-LABlab(32.17, 49.74, -59.86)
CIE-LCHlch(32.17, 77.83, 309.73°)
OKLaboklab(43.75% 0.0806 -0.1715)
OKLCHoklch(43.75% 0.189 295.2)
XYZxyz(12.9612, 7.1593, 39.7207)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2CAC #7AAC2C
analogous
#2C3AAC #5E2CAC #9E2CAC
triadic
#5E2CAC #AC5E2C #2CAC5E
tetradic
#5E2CAC #AC2C3A #7AAC2C #2CAC9E
square
#5E2CAC #AC2C3A #7AAC2C #2CAC9E
split-complementary
#5E2CAC #AC9E2C #3AAC2C
monochromatic
#29134B #43207B #5E2CAC #7C46D0 #9E76DC

Accessibility & contrast

On white

8.63
#5E2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5E2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2CAC
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2CAC#FFFFFF#000000##FFFFFF
##5E2CAC1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#484E6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e2cac;
/* rgb */ color: rgb(94, 44, 172);
/* oklch */ color: oklch(43.8% 0.189 295.2);
Tailwind
colors: {
  custom: {
    50: '#936ac6',
    500: '#5e2cac',
    950: '#000000',
  },
}
SCSS
$custom: #5e2cac;
$custom-light: #936ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2cac",
  "rgb": {
    "r": 94,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 263.438,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43753,
    "c": 0.18945,
    "h": 295.2
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#5E2CAC
secondary
#A3C470
accent
#E245A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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