#5E2099#5E2099

#5E2099 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.182 H 301.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#5E2099
RGBrgb(94, 32, 153)
HSLhsl(271, 65%, 36%)
HSVhsv(271, 79%, 60%)
CMYKcmyk(38.6%, 79.1%, 0%, 40%)
CIE-LABlab(28.68, 50.21, -54.06)
CIE-LCHlch(28.68, 73.78, 312.89°)
OKLaboklab(40.8% 0.0959 -0.1544)
OKLCHoklch(40.8% 0.182 301.9)
XYZxyz(10.8810, 5.7126, 30.6602)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2099 #5B9920
analogous
#222099 #5E2099 #992098
triadic
#5E2099 #995E20 #20995E
tetradic
#5E2099 #992220 #5B9920 #209899
square
#5E2099 #992220 #5B9920 #209899
split-complementary
#5E2099 #989920 #209922
monochromatic
#200B34 #3F1566 #5E2099 #7D2BCC #9B57DC

Accessibility & contrast

On white

9.80
#5E2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5E2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2099
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2099#FFFFFF#000000##FFFFFF
##5E20991.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#51405C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5e2099;
/* rgb */ color: rgb(94, 32, 153);
/* oklch */ color: oklch(40.8% 0.182 301.9);
Tailwind
colors: {
  custom: {
    50: '#9263b8',
    500: '#5e2099',
    950: '#000000',
  },
}
SCSS
$custom: #5e2099;
$custom-light: #9263b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2099",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 270.744,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40796,
    "c": 0.18174,
    "h": 301.9
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#5E2099
secondary
#89C055
accent
#E83F92
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #5E2099

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

Preview Lab → · Contrast checker → · Palette generator →

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