#5E2090#5E2090

#5E2090 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.172 H 304.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#5E2090
RGBrgb(94, 32, 144)
HSLhsl(273, 64%, 35%)
HSVhsv(273, 78%, 56%)
CMYKcmyk(34.7%, 77.8%, 0%, 43.5%)
CIE-LABlab(27.92, 48.04, -49.76)
CIE-LCHlch(27.92, 69.17, 313.99°)
OKLaboklab(40.03% 0.0983 -0.1417)
OKLCHoklch(40.03% 0.172 304.7)
XYZxyz(10.1655, 5.4264, 26.8920)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2090 #529020
analogous
#262090 #5E2090 #90208A
triadic
#5E2090 #905E20 #20905E
tetradic
#5E2090 #902620 #529020 #208A90
square
#5E2090 #902620 #529020 #208A90
split-complementary
#5E2090 #8A9020 #209026
monochromatic
#1D0A2C #3D155E #5E2090 #7F2BC2 #9C52D9

Accessibility & contrast

On white

10.07
#5E2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5E2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2090
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2090#FFFFFF#000000##FFFFFF
##5E20901.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#543C57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5e2090;
/* rgb */ color: rgb(94, 32, 144);
/* oklch */ color: oklch(40.0% 0.172 304.7);
Tailwind
colors: {
  custom: {
    50: '#9163b1',
    500: '#5e2090',
    950: '#000000',
  },
}
SCSS
$custom: #5e2090;
$custom-light: #9163b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2090",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 273.214,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40028,
    "c": 0.17245,
    "h": 304.7
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#5E2090
secondary
#80BC50
accent
#E7418B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2090

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

Preview Lab → · Contrast checker → · Palette generator →

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