#5C208B#5C208B

#5C208B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.167 H 305.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#5C208B
RGBrgb(92, 32, 139)
HSLhsl(274, 63%, 34%)
HSVhsv(274, 77%, 55%)
CMYKcmyk(33.8%, 77%, 0%, 45.5%)
CIE-LABlab(27.22, 46.47, -47.81)
CIE-LCHlch(27.22, 66.67, 314.19°)
OKLaboklab(39.35% 0.0965 -0.1361)
OKLCHoklch(39.35% 0.167 305.3)
XYZxyz(9.5893, 5.1725, 24.9143)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C208B #4F8B20
analogous
#26208B #5C208B #8B2084
triadic
#5C208B #8B5C20 #208B5C
tetradic
#5C208B #8B2620 #4F8B20 #20848B
square
#5C208B #8B2620 #4F8B20 #20848B
split-complementary
#5C208B #848B20 #208B26
monochromatic
#1A0928 #3B1559 #5C208B #7D2BBD #9B4FD6

Accessibility & contrast

On white

10.32
#5C208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5C208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C208B
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C208B#FFFFFF#000000##FFFFFF
##5C208B1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#533B54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5c208b;
/* rgb */ color: rgb(92, 32, 139);
/* oklch */ color: oklch(39.4% 0.167 305.3);
Tailwind
colors: {
  custom: {
    50: '#8f62ae',
    500: '#5c208b',
    950: '#000000',
  },
}
SCSS
$custom: #5c208b;
$custom-light: #8f62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5c208b",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 273.645,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3935,
    "c": 0.16679,
    "h": 305.3
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#5C208B
secondary
#7DBA4D
accent
#E6428A
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5C208B

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

Preview Lab → · Contrast checker → · Palette generator →

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