#5E208A#5E208A

#5E208A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.166 H 306.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#5E208A
RGBrgb(94, 32, 138)
HSLhsl(275, 62%, 33%)
HSVhsv(275, 77%, 54%)
CMYKcmyk(31.9%, 76.8%, 0%, 45.9%)
CIE-LABlab(27.43, 46.62, -46.84)
CIE-LCHlch(27.43, 66.08, 314.87°)
OKLaboklab(39.53% 0.0996 -0.1331)
OKLCHoklch(39.53% 0.166 306.8)
XYZxyz(9.7191, 5.2478, 24.5407)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E208A #4C8A20
analogous
#29208A #5E208A #8A2081
triadic
#5E208A #8A5E20 #208A5E
tetradic
#5E208A #8A2920 #4C8A20 #20818A
square
#5E208A #8A2920 #4C8A20 #20818A
split-complementary
#5E208A #818A20 #208A29
monochromatic
#1A0927 #3C1458 #5E208A #802CBC #9E4ED6

Accessibility & contrast

On white

10.25
#5E208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5E208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E208A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E208A#FFFFFF#000000##FFFFFF
##5E208A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#563A54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e208a;
/* rgb */ color: rgb(94, 32, 138);
/* oklch */ color: oklch(39.5% 0.166 306.8);
Tailwind
colors: {
  custom: {
    50: '#9062ad',
    500: '#5e208a',
    950: '#000000',
  },
}
SCSS
$custom: #5e208a;
$custom-light: #9062ad;
$custom-dark: #000000;
JSON
{
  "hex": "#5e208a",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 275.094,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39533,
    "c": 0.16626,
    "h": 306.8
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#5E208A
secondary
#7AB94D
accent
#E54286
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E208A

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

Preview Lab → · Contrast checker → · Palette generator →

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