#5E2094#5E2094

#5E2094 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.177 H 303.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#5E2094
RGBrgb(94, 32, 148)
HSLhsl(272, 64%, 35%)
HSVhsv(272, 78%, 58%)
CMYKcmyk(36.5%, 78.4%, 0%, 42%)
CIE-LABlab(28.25, 49.00, -51.69)
CIE-LCHlch(28.25, 71.23, 313.47°)
OKLaboklab(40.37% 0.0973 -0.1474)
OKLCHoklch(40.37% 0.177 303.4)
XYZxyz(10.4766, 5.5508, 28.5307)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2094 #569420
analogous
#242094 #5E2094 #942090
triadic
#5E2094 #945E20 #20945E
tetradic
#5E2094 #942420 #569420 #209094
square
#5E2094 #942420 #569420 #209094
split-complementary
#5E2094 #909420 #209424
monochromatic
#1E0A2F #3E1562 #5E2094 #7E2BC6 #9C54DA

Accessibility & contrast

On white

9.95
#5E2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5E2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2094
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2094#FFFFFF#000000##FFFFFF
##5E20941.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#533E59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5e2094;
/* rgb */ color: rgb(94, 32, 148);
/* oklch */ color: oklch(40.4% 0.177 303.4);
Tailwind
colors: {
  custom: {
    50: '#9163b4',
    500: '#5e2094',
    950: '#000000',
  },
}
SCSS
$custom: #5e2094;
$custom-light: #9163b4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2094",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 272.069,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40366,
    "c": 0.17659,
    "h": 303.4
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#5E2094
secondary
#84BE52
accent
#E7408E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2094

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

Preview Lab → · Contrast checker → · Palette generator →

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