#5E208D#5E208D

#5E208D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.169 H 305.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#5E208D
RGBrgb(94, 32, 141)
HSLhsl(274, 63%, 34%)
HSVhsv(274, 77%, 55%)
CMYKcmyk(33.3%, 77.3%, 0%, 44.7%)
CIE-LABlab(27.67, 47.33, -48.31)
CIE-LCHlch(27.67, 67.63, 314.41°)
OKLaboklab(39.78% 0.099 -0.1374)
OKLCHoklch(39.78% 0.169 305.8)
XYZxyz(9.9393, 5.3359, 25.7005)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E208D #4F8D20
analogous
#27208D #5E208D #8D2086
triadic
#5E208D #8D5E20 #208D5E
tetradic
#5E208D #8D2720 #4F8D20 #20868D
square
#5E208D #8D2720 #4F8D20 #20868D
split-complementary
#5E208D #868D20 #208D27
monochromatic
#1B0929 #3D155B #5E208D #7F2BBF #9D50D7

Accessibility & contrast

On white

10.16
#5E208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E208D
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E208D#FFFFFF#000000##FFFFFF
##5E208D1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#553B55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e208d;
/* rgb */ color: rgb(94, 32, 141);
/* oklch */ color: oklch(39.8% 0.169 305.8);
Tailwind
colors: {
  custom: {
    50: '#9062af',
    500: '#5e208d',
    950: '#000000',
  },
}
SCSS
$custom: #5e208d;
$custom-light: #9062af;
$custom-dark: #000000;
JSON
{
  "hex": "#5e208d",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 274.128,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.16936,
    "h": 305.8
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#5E208D
secondary
#7DBA4E
accent
#E64289
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E208D

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

Preview Lab → · Contrast checker → · Palette generator →

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