#5E2293#5E2293

#5E2293 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.173 H 303.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#5E2293
RGBrgb(94, 34, 147)
HSLhsl(272, 62%, 35%)
HSVhsv(272, 77%, 58%)
CMYKcmyk(36.1%, 76.9%, 0%, 42.4%)
CIE-LABlab(28.46, 47.92, -50.73)
CIE-LCHlch(28.46, 69.78, 313.37°)
OKLaboklab(40.49% 0.0957 -0.1446)
OKLCHoklch(40.49% 0.173 303.5)
XYZxyz(10.4534, 5.6303, 28.1342)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2293 #579322
analogous
#252293 #5E2293 #932290
triadic
#5E2293 #935E22 #22935E
tetradic
#5E2293 #932522 #579322 #229093
square
#5E2293 #932522 #579322 #229093
split-complementary
#5E2293 #909322 #229325
monochromatic
#1E0B30 #3E1761 #5E2293 #7E2DC5 #9C57D8

Accessibility & contrast

On white

9.88
#5E2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#5E2293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2293
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2293#FFFFFF#000000##FFFFFF
##5E22931.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#533F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5e2293;
/* rgb */ color: rgb(94, 34, 147);
/* oklch */ color: oklch(40.5% 0.173 303.5);
Tailwind
colors: {
  custom: {
    50: '#9164b4',
    500: '#5e2293',
    950: '#000000',
  },
}
SCSS
$custom: #5e2293;
$custom-light: #9164b4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2293",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 271.858,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40488,
    "c": 0.17339,
    "h": 303.5
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#5E2293
secondary
#85BC55
accent
#E5428F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2293

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

Preview Lab → · Contrast checker → · Palette generator →

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