#5E209D#5E209D

#5E209D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.186 H 300.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#5E209D
RGBrgb(94, 32, 157)
HSLhsl(270, 66%, 37%)
HSVhsv(270, 80%, 62%)
CMYKcmyk(40.1%, 79.6%, 0%, 38.4%)
CIE-LABlab(29.02, 51.19, -55.94)
CIE-LCHlch(29.02, 75.83, 312.46°)
OKLaboklab(41.15% 0.0948 -0.1599)
OKLCHoklch(41.15% 0.186 300.7)
XYZxyz(11.2169, 5.8469, 32.4294)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E209D #5F9D20
analogous
#20209D #5E209D #9D209D
triadic
#5E209D #9D5E20 #209D5E
tetradic
#5E209D #9D2020 #5F9D20 #209D9D
square
#5E209D #9D2020 #5F9D20 #209D9D
split-complementary
#5E209D #9D9D20 #209D20
monochromatic
#210B37 #40166A #5E209D #7C2AD0 #9B5ADD

Accessibility & contrast

On white

9.68
#5E209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5E209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E209D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E209D#FFFFFF#000000##FFFFFF
##5E209D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#4F425E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5e209d;
/* rgb */ color: rgb(94, 32, 157);
/* oklch */ color: oklch(41.1% 0.186 300.7);
Tailwind
colors: {
  custom: {
    50: '#9263bb',
    500: '#5e209d',
    950: '#000000',
  },
}
SCSS
$custom: #5e209d;
$custom-light: #9263bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e209d",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 269.76,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41146,
    "c": 0.18587,
    "h": 300.7
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#5E209D
secondary
#8DC157
accent
#E93F95
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E209D

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

Preview Lab → · Contrast checker → · Palette generator →

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