#5E208C#5E208C

#5E208C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.168 H 306.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#5E208C
RGBrgb(94, 32, 140)
HSLhsl(274, 63%, 34%)
HSVhsv(274, 77%, 55%)
CMYKcmyk(32.9%, 77.1%, 0%, 45.1%)
CIE-LABlab(27.59, 47.09, -47.82)
CIE-LCHlch(27.59, 67.11, 314.56°)
OKLaboklab(39.7% 0.0992 -0.136)
OKLCHoklch(39.7% 0.168 306.1)
XYZxyz(9.8652, 5.3062, 25.3104)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E208C #4E8C20
analogous
#28208C #5E208C #8C2084
triadic
#5E208C #8C5E20 #208C5E
tetradic
#5E208C #8C2820 #4E8C20 #20848C
square
#5E208C #8C2820 #4E8C20 #20848C
split-complementary
#5E208C #848C20 #208C28
monochromatic
#1B0928 #3D155A #5E208C #7F2BBE #9D50D7

Accessibility & contrast

On white

10.19
#5E208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#5E208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E208C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E208C#FFFFFF#000000##FFFFFF
##5E208C1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#563B55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e208c;
/* rgb */ color: rgb(94, 32, 140);
/* oklch */ color: oklch(39.7% 0.168 306.1);
Tailwind
colors: {
  custom: {
    50: '#9062ae',
    500: '#5e208c',
    950: '#000000',
  },
}
SCSS
$custom: #5e208c;
$custom-light: #9062ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5e208c",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 274.444,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39697,
    "c": 0.16833,
    "h": 306.1
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#5E208C
secondary
#7CBA4E
accent
#E64288
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E208C

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

Preview Lab → · Contrast checker → · Palette generator →

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