#5E2E99#5E2E99

#5E2E99 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.165 H 299.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#5E2E99
RGBrgb(94, 46, 153)
HSLhsl(267, 54%, 39%)
HSVhsv(267, 70%, 60%)
CMYKcmyk(38.6%, 69.9%, 0%, 40%)
CIE-LABlab(30.96, 43.75, -50.35)
CIE-LCHlch(30.96, 66.70, 310.99°)
OKLaboklab(42.41% 0.0824 -0.1435)
OKLCHoklch(42.41% 0.165 299.9)
XYZxyz(11.3414, 6.6335, 30.8137)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2E99 #69992E
analogous
#2E3499 #5E2E99 #942E99
triadic
#5E2E99 #995E2E #2E995E
tetradic
#5E2E99 #992E34 #69992E #2E9994
square
#5E2E99 #992E34 #69992E #2E9994
split-complementary
#5E2E99 #99942E #34992E
monochromatic
#24123B #41206A #5E2E99 #7B3FC5 #9B6ED3

Accessibility & contrast

On white

9.03
#5E2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5E2E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2E99
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2E99#FFFFFF#000000##FFFFFF
##5E2E991.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#514760
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5e2e99;
/* rgb */ color: rgb(94, 46, 153);
/* oklch */ color: oklch(42.4% 0.165 299.9);
Tailwind
colors: {
  custom: {
    50: '#916ab8',
    500: '#5e2e99',
    950: '#000000',
  },
}
SCSS
$custom: #5e2e99;
$custom-light: #916ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2e99",
  "rgb": {
    "r": 94,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 266.916,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42409,
    "c": 0.16549,
    "h": 299.9
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#5E2E99
secondary
#96BB68
accent
#DD4B9B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5E2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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