#5E2092#5E2092

#5E2092 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.175 H 304.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#5E2092
RGBrgb(94, 32, 146)
HSLhsl(273, 64%, 35%)
HSVhsv(273, 78%, 57%)
CMYKcmyk(35.6%, 78.1%, 0%, 42.7%)
CIE-LABlab(28.08, 48.52, -50.73)
CIE-LCHlch(28.08, 70.20, 313.73°)
OKLaboklab(40.2% 0.0978 -0.1446)
OKLCHoklch(40.2% 0.175 304.1)
XYZxyz(10.3197, 5.4881, 27.7042)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2092 #549220
analogous
#252092 #5E2092 #92208D
triadic
#5E2092 #925E20 #20925E
tetradic
#5E2092 #922520 #549220 #208D92
square
#5E2092 #922520 #549220 #208D92
split-complementary
#5E2092 #8D9220 #209225
monochromatic
#1D0A2E #3E1560 #5E2092 #7E2BC4 #9C53D9

Accessibility & contrast

On white

10.01
#5E2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#5E2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2092
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2092#FFFFFF#000000##FFFFFF
##5E20921.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#543D58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5e2092;
/* rgb */ color: rgb(94, 32, 146);
/* oklch */ color: oklch(40.2% 0.175 304.1);
Tailwind
colors: {
  custom: {
    50: '#9163b3',
    500: '#5e2092',
    950: '#000000',
  },
}
SCSS
$custom: #5e2092;
$custom-light: #9163b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2092",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 272.632,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40196,
    "c": 0.17452,
    "h": 304.1
  },
  "luminance": 0.05488
}

Semantic roles & 50–950 ramp

primary
#5E2092
secondary
#82BD51
accent
#E7418D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2092

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

Preview Lab → · Contrast checker → · Palette generator →

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