#5E2389#5E2389

#5E2389 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.162 H 306.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#5E2389
RGBrgb(94, 35, 137)
HSLhsl(275, 59%, 34%)
HSVhsv(275, 74%, 54%)
CMYKcmyk(31.4%, 74.5%, 0%, 46.3%)
CIE-LABlab(27.81, 45.06, -45.59)
CIE-LCHlch(27.81, 64.10, 314.67°)
OKLaboklab(39.78% 0.0968 -0.1295)
OKLCHoklch(39.78% 0.162 306.8)
XYZxyz(9.7315, 5.3880, 24.1894)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2389 #4E8923
analogous
#2B2389 #5E2389 #892381
triadic
#5E2389 #895E23 #23895E
tetradic
#5E2389 #892B23 #4E8923 #238189
square
#5E2389 #892B23 #4E8923 #238189
split-complementary
#5E2389 #818923 #23892B
monochromatic
#1B0A28 #3D1758 #5E2389 #7F2FBA #9D53D3

Accessibility & contrast

On white

10.11
#5E2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#5E2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2389
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2389#FFFFFF#000000##FFFFFF
##5E23891.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e2389;
/* rgb */ color: rgb(94, 35, 137);
/* oklch */ color: oklch(39.8% 0.162 306.8);
Tailwind
colors: {
  custom: {
    50: '#9064ac',
    500: '#5e2389',
    950: '#000000',
  },
}
SCSS
$custom: #5e2389;
$custom-light: #9064ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2389",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 274.706,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.16166,
    "h": 306.8
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#5E2389
secondary
#7CB751
accent
#E24588
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5E2389

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

Preview Lab → · Contrast checker → · Palette generator →

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