#5C207C#5C207C

#5C207C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.151 H 311.1°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#5C207C
RGBrgb(92, 32, 124)
HSLhsl(279, 59%, 31%)
HSVhsv(279, 74%, 49%)
CMYKcmyk(25.8%, 74.2%, 0%, 51.4%)
CIE-LABlab(26.05, 42.93, -40.30)
CIE-LCHlch(26.05, 58.88, 316.81°)
OKLaboklab(38.15% 0.0993 -0.114)
OKLCHoklch(38.15% 0.151 311.1)
XYZxyz(8.5675, 4.7638, 19.5330)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C207C #407C20
analogous
#2E207C #5C207C #7C206E
triadic
#5C207C #7C5C20 #207C5C
tetradic
#5C207C #7C2E20 #407C20 #206E7C
square
#5C207C #7C2E20 #407C20 #206E7C
split-complementary
#5C207C #6E7C20 #207C2E
monochromatic
#14071B #38134B #5C207C #802DAD #A047CF

Accessibility & contrast

On white

10.75
#5C207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#5C207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C207C
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C207C#FFFFFF#000000##FFFFFF
##5C207C1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#113F7A
Tritanopia (blue-blind)
#58344C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5c207c;
/* rgb */ color: rgb(92, 32, 124);
/* oklch */ color: oklch(38.2% 0.151 311.1);
Tailwind
colors: {
  custom: {
    50: '#8e61a2',
    500: '#5c207c',
    950: '#000000',
  },
}
SCSS
$custom: #5c207c;
$custom-light: #8e61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c207c",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 279.13,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.15114,
    "h": 311.1
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#5C207C
secondary
#6CAF49
accent
#E2467C
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5C207C

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

Preview Lab → · Contrast checker → · Palette generator →

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