#5E2CAA#5E2CAA

#5E2CAA is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.187 H 295.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#5E2CAA
RGBrgb(94, 44, 170)
HSLhsl(264, 59%, 42%)
HSVhsv(264, 74%, 67%)
CMYKcmyk(44.7%, 74.1%, 0%, 33.3%)
CIE-LABlab(32.00, 49.21, -58.94)
CIE-LCHlch(32.00, 76.79, 309.86°)
OKLaboklab(43.58% 0.081 -0.1688)
OKLCHoklch(43.58% 0.187 295.6)
XYZxyz(12.7705, 7.0830, 38.7167)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2CAA #78AA2C
analogous
#2C39AA #5E2CAA #9D2CAA
triadic
#5E2CAA #AA5E2C #2CAA5E
tetradic
#5E2CAA #AA2C39 #78AA2C #2CAA9D
square
#5E2CAA #AA2C39 #78AA2C #2CAA9D
split-complementary
#5E2CAA #AA9D2C #39AA2C
monochromatic
#281349 #431F79 #5E2CAA #7B44CF #9E75DB

Accessibility & contrast

On white

8.69
#5E2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5E2CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2CAA
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2CAA#FFFFFF#000000##FFFFFF
##5E2CAA1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#494D69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5e2caa;
/* rgb */ color: rgb(94, 44, 170);
/* oklch */ color: oklch(43.6% 0.187 295.6);
Tailwind
colors: {
  custom: {
    50: '#936ac4',
    500: '#5e2caa',
    950: '#000000',
  },
}
SCSS
$custom: #5e2caa;
$custom-light: #936ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2caa",
  "rgb": {
    "r": 94,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 263.81,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43579,
    "c": 0.18721,
    "h": 295.6
  },
  "luminance": 0.07083
}

Semantic roles & 50–950 ramp

primary
#5E2CAA
secondary
#A2C36F
accent
#E246A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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