#5E2084#5E2084

#5E2084 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.160 H 309.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#5E2084
RGBrgb(94, 32, 132)
HSLhsl(277, 61%, 32%)
HSVhsv(277, 76%, 52%)
CMYKcmyk(28.8%, 75.8%, 0%, 48.2%)
CIE-LABlab(26.96, 45.21, -43.85)
CIE-LCHlch(26.96, 62.98, 315.87°)
OKLaboklab(39.05% 0.1008 -0.1244)
OKLCHoklch(39.05% 0.16 309)
XYZxyz(9.2966, 5.0788, 22.3159)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2084 #468420
analogous
#2C2084 #5E2084 #842078
triadic
#5E2084 #845E20 #20845E
tetradic
#5E2084 #842C20 #468420 #207884
square
#5E2084 #842C20 #468420 #207884
split-complementary
#5E2084 #788420 #20842C
monochromatic
#180821 #3B1453 #5E2084 #812CB5 #A04BD3

Accessibility & contrast

On white

10.42
#5E2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#5E2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2084
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2084#FFFFFF#000000##FFFFFF
##5E20841.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#034082
Tritanopia (blue-blind)
#583750
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e2084;
/* rgb */ color: rgb(94, 32, 132);
/* oklch */ color: oklch(39.1% 0.160 309.0);
Tailwind
colors: {
  custom: {
    50: '#9062a8',
    500: '#5e2084',
    950: '#000000',
  },
}
SCSS
$custom: #5e2084;
$custom-light: #9062a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2084",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 277.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39052,
    "c": 0.16007,
    "h": 309
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#5E2084
secondary
#73B64A
accent
#E44481
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E2084

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

Preview Lab → · Contrast checker → · Palette generator →

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