#5E2489#5E2489

#5E2489 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.160 H 306.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#5E2489
RGBrgb(94, 36, 137)
HSLhsl(274, 58%, 34%)
HSVhsv(274, 74%, 54%)
CMYKcmyk(31.4%, 73.7%, 0%, 46.3%)
CIE-LABlab(27.97, 44.61, -45.33)
CIE-LCHlch(27.97, 63.60, 314.54°)
OKLaboklab(39.89% 0.0958 -0.1287)
OKLCHoklch(39.89% 0.16 306.6)
XYZxyz(9.7614, 5.4477, 24.1993)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2489 #4F8924
analogous
#2B2489 #5E2489 #892482
triadic
#5E2489 #895E24 #24895E
tetradic
#5E2489 #892B24 #4F8924 #248289
square
#5E2489 #892B24 #4F8924 #248289
split-complementary
#5E2489 #828924 #24892B
monochromatic
#1B0B28 #3D1759 #5E2489 #7F31B9 #9D55D2

Accessibility & contrast

On white

10.05
#5E2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5E2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2489
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2489#FFFFFF#000000##FFFFFF
##5E24891.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#573C54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5e2489;
/* rgb */ color: rgb(94, 36, 137);
/* oklch */ color: oklch(39.9% 0.160 306.6);
Tailwind
colors: {
  custom: {
    50: '#9064ac',
    500: '#5e2489',
    950: '#000000',
  },
}
SCSS
$custom: #5e2489;
$custom-light: #9064ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2489",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 274.455,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39894,
    "c": 0.16043,
    "h": 306.6
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#5E2489
secondary
#7DB752
accent
#E24688
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5E2489

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

Preview Lab → · Contrast checker → · Palette generator →

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