#5E209E#5E209E

#5E209E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.187 H 300.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#5E209E
RGBrgb(94, 32, 158)
HSLhsl(270, 66%, 37%)
HSVhsv(270, 80%, 62%)
CMYKcmyk(40.5%, 79.7%, 0%, 38%)
CIE-LABlab(29.11, 51.43, -56.40)
CIE-LCHlch(29.11, 76.33, 312.36°)
OKLaboklab(41.23% 0.0945 -0.1612)
OKLCHoklch(41.23% 0.187 300.4)
XYZxyz(11.3026, 5.8812, 32.8808)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E209E #609E20
analogous
#20219E #5E209E #9D209E
triadic
#5E209E #9E5E20 #209E5E
tetradic
#5E209E #9E2021 #609E20 #209E9D
square
#5E209E #9E2021 #609E20 #209E9D
split-complementary
#5E209E #9E9D20 #219E20
monochromatic
#210B38 #40166B #5E209E #7C2AD1 #9B5BDE

Accessibility & contrast

On white

9.65
#5E209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5E209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E209E
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E209E#FFFFFF#000000##FFFFFF
##5E209E1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#4F425F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5e209e;
/* rgb */ color: rgb(94, 32, 158);
/* oklch */ color: oklch(41.2% 0.187 300.4);
Tailwind
colors: {
  custom: {
    50: '#9263bc',
    500: '#5e209e',
    950: '#000000',
  },
}
SCSS
$custom: #5e209e;
$custom-light: #9263bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e209e",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 269.524,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.18689,
    "h": 300.4
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E209E

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

Preview Lab → · Contrast checker → · Palette generator →

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