#5C207F#5C207F

#5C207F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.154 H 309.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#5C207F
RGBrgb(92, 32, 127)
HSLhsl(278, 60%, 31%)
HSVhsv(278, 75%, 50%)
CMYKcmyk(27.6%, 74.8%, 0%, 50.2%)
CIE-LABlab(26.28, 43.63, -41.83)
CIE-LCHlch(26.28, 60.44, 316.21°)
OKLaboklab(38.39% 0.0988 -0.1185)
OKLCHoklch(38.39% 0.154 309.8)
XYZxyz(8.7602, 4.8408, 20.5475)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C207F #437F20
analogous
#2C207F #5C207F #7F2072
triadic
#5C207F #7F5C20 #207F5C
tetradic
#5C207F #7F2C20 #437F20 #20727F
square
#5C207F #7F2C20 #437F20 #20727F
split-complementary
#5C207F #727F20 #207F2C
monochromatic
#15071D #39144E #5C207F #7F2CB0 #9F48D1

Accessibility & contrast

On white

10.67
#5C207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5C207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C207F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C207F#FFFFFF#000000##FFFFFF
##5C207F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#0B3F7D
Tritanopia (blue-blind)
#57364D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5c207f;
/* rgb */ color: rgb(92, 32, 127);
/* oklch */ color: oklch(38.4% 0.154 309.8);
Tailwind
colors: {
  custom: {
    50: '#8e62a5',
    500: '#5c207f',
    950: '#000000',
  },
}
SCSS
$custom: #5c207f;
$custom-light: #8e62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c207f",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 277.895,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38386,
    "c": 0.15427,
    "h": 309.8
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#5C207F
secondary
#70B249
accent
#E3457F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5C207F

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

Preview Lab → · Contrast checker → · Palette generator →

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