#5E208B#5E208B

#5E208B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.167 H 306.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#5E208B
RGBrgb(94, 32, 139)
HSLhsl(275, 63%, 34%)
HSVhsv(275, 77%, 55%)
CMYKcmyk(32.4%, 77%, 0%, 45.5%)
CIE-LABlab(27.51, 46.85, -47.33)
CIE-LCHlch(27.51, 66.60, 314.71°)
OKLaboklab(39.62% 0.0994 -0.1346)
OKLCHoklch(39.62% 0.167 306.4)
XYZxyz(9.7918, 5.2769, 24.9238)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E208B #4D8B20
analogous
#28208B #5E208B #8B2082
triadic
#5E208B #8B5E20 #208B5E
tetradic
#5E208B #8B2820 #4D8B20 #20828B
square
#5E208B #8B2820 #4D8B20 #20828B
split-complementary
#5E208B #828B20 #208B28
monochromatic
#1B0928 #3C1559 #5E208B #802BBD #9D4FD6

Accessibility & contrast

On white

10.22
#5E208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E208B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E208B#FFFFFF#000000##FFFFFF
##5E208B1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e208b;
/* rgb */ color: rgb(94, 32, 139);
/* oklch */ color: oklch(39.6% 0.167 306.4);
Tailwind
colors: {
  custom: {
    50: '#9062ae',
    500: '#5e208b',
    950: '#000000',
  },
}
SCSS
$custom: #5e208b;
$custom-light: #9062ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5e208b",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 274.766,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39615,
    "c": 0.16729,
    "h": 306.4
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#5E208B
secondary
#7BBA4D
accent
#E64287
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E208B

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

Preview Lab → · Contrast checker → · Palette generator →

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