#5E28AE#5E28AE

#5E28AE is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.196 H 295.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#5E28AE
RGBrgb(94, 40, 174)
HSLhsl(264, 63%, 42%)
HSVhsv(264, 77%, 68%)
CMYKcmyk(46%, 77%, 0%, 31.8%)
CIE-LABlab(31.70, 52.10, -61.82)
CIE-LCHlch(31.70, 80.85, 310.12°)
OKLaboklab(43.48% 0.0835 -0.1772)
OKLCHoklch(43.48% 0.196 295.2)
XYZxyz(13.0128, 6.9529, 40.6926)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E28AE #78AE28
analogous
#2835AE #5E28AE #A128AE
triadic
#5E28AE #AE5E28 #28AE5E
tetradic
#5E28AE #AE2835 #78AE28 #28AEA1
square
#5E28AE #AE2835 #78AE28 #28AEA1
split-complementary
#5E28AE #AEA128 #35AE28
monochromatic
#28114A #431D7C #5E28AE #7B40D3 #9E72DF

Accessibility & contrast

On white

8.78
#5E28AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5E28AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E28AE
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E28AE#FFFFFF#000000##FFFFFF
##5E28AE1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#474D6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5e28ae;
/* rgb */ color: rgb(94, 40, 174);
/* oklch */ color: oklch(43.5% 0.196 295.2);
Tailwind
colors: {
  custom: {
    50: '#9468c7',
    500: '#5e28ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e28ae;
$custom-light: #9468c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e28ae",
  "rgb": {
    "r": 94,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 264.179,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43479,
    "c": 0.19587,
    "h": 295.2
  },
  "luminance": 0.06953
}

Semantic roles & 50–950 ramp

primary
#5E28AE
secondary
#A2C66C
accent
#E642A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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