#5E289A#5E289A

#5E289A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.174 H 300.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#5E289A
RGBrgb(94, 40, 154)
HSLhsl(268, 59%, 38%)
HSVhsv(268, 74%, 60%)
CMYKcmyk(39%, 74%, 0%, 39.6%)
CIE-LABlab(29.99, 46.96, -52.54)
CIE-LCHlch(29.99, 70.46, 311.79°)
OKLaboklab(41.74% 0.0884 -0.1499)
OKLCHoklch(41.74% 0.174 300.5)
XYZxyz(11.2062, 6.2303, 31.1778)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E289A #649A28
analogous
#282B9A #5E289A #97289A
triadic
#5E289A #9A5E28 #289A5E
tetradic
#5E289A #9A282B #649A28 #289A97
square
#5E289A #9A282B #649A28 #289A97
split-complementary
#5E289A #9A9728 #2B9A28
monochromatic
#230F39 #401B69 #5E289A #7C35CA #9B65D7

Accessibility & contrast

On white

9.35
#5E289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5E289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E289A
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E289A#FFFFFF#000000##FFFFFF
##5E289A1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#50455F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5e289a;
/* rgb */ color: rgb(94, 40, 154);
/* oklch */ color: oklch(41.7% 0.174 300.5);
Tailwind
colors: {
  custom: {
    50: '#9167b9',
    500: '#5e289a',
    950: '#000000',
  },
}
SCSS
$custom: #5e289a;
$custom-light: #9167b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e289a",
  "rgb": {
    "r": 94,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 268.421,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.17404,
    "h": 300.5
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#5E289A
secondary
#91BD61
accent
#E24698
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E289A

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

Preview Lab → · Contrast checker → · Palette generator →

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