#5E208E#5E208E

#5E208E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.170 H 305.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#5E208E
RGBrgb(94, 32, 142)
HSLhsl(274, 63%, 34%)
HSVhsv(274, 77%, 56%)
CMYKcmyk(33.8%, 77.5%, 0%, 44.3%)
CIE-LABlab(27.75, 47.56, -48.79)
CIE-LCHlch(27.75, 68.14, 314.27°)
OKLaboklab(39.86% 0.0987 -0.1389)
OKLCHoklch(39.86% 0.17 305.4)
XYZxyz(10.0140, 5.3658, 26.0941)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E208E #508E20
analogous
#27208E #5E208E #8E2087
triadic
#5E208E #8E5E20 #208E5E
tetradic
#5E208E #8E2720 #508E20 #20878E
square
#5E208E #8E2720 #508E20 #20878E
split-complementary
#5E208E #878E20 #208E27
monochromatic
#1C092A #3D155C #5E208E #7F2BC0 #9D51D8

Accessibility & contrast

On white

10.13
#5E208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#5E208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E208E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E208E#FFFFFF#000000##FFFFFF
##5E208E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#553C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e208e;
/* rgb */ color: rgb(94, 32, 142);
/* oklch */ color: oklch(39.9% 0.170 305.4);
Tailwind
colors: {
  custom: {
    50: '#9163b0',
    500: '#5e208e',
    950: '#000000',
  },
}
SCSS
$custom: #5e208e;
$custom-light: #9163b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e208e",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 273.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39862,
    "c": 0.17039,
    "h": 305.4
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#5E208E
secondary
#7EBB4F
accent
#E64289
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E208E

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

Preview Lab → · Contrast checker → · Palette generator →

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