#5E208F#5E208F

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

Color values

HEX#5E208F
RGBrgb(94, 32, 143)
HSLhsl(274, 63%, 34%)
HSVhsv(274, 78%, 56%)
CMYKcmyk(34.3%, 77.6%, 0%, 43.9%)
CIE-LABlab(27.83, 47.80, -49.28)
CIE-LCHlch(27.83, 68.66, 314.13°)
OKLaboklab(39.95% 0.0985 -0.1403)
OKLCHoklch(39.95% 0.171 305.1)
XYZxyz(10.0894, 5.3959, 26.4913)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E208F #518F20
analogous
#27208F #5E208F #8F2089
triadic
#5E208F #8F5E20 #208F5E
tetradic
#5E208F #8F2720 #518F20 #20898F
square
#5E208F #8F2720 #518F20 #20898F
split-complementary
#5E208F #898F20 #208F27
monochromatic
#1C0A2B #3D155D #5E208F #7F2BC1 #9D51D8

Accessibility & contrast

On white

10.10
#5E208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#5E208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E208F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E208F#FFFFFF#000000##FFFFFF
##5E208F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#553C56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5e208f;
/* rgb */ color: rgb(94, 32, 143);
/* oklch */ color: oklch(39.9% 0.171 305.1);
Tailwind
colors: {
  custom: {
    50: '#9163b1',
    500: '#5e208f',
    950: '#000000',
  },
}
SCSS
$custom: #5e208f;
$custom-light: #9163b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e208f",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 273.514,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39945,
    "c": 0.17143,
    "h": 305.1
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#5E208F
secondary
#7FBB4F
accent
#E6418A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E208F

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

Preview Lab → · Contrast checker → · Palette generator →

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