#5C207D#5C207D

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

Color values

HEX#5C207D
RGBrgb(92, 32, 125)
HSLhsl(279, 59%, 31%)
HSVhsv(279, 74%, 49%)
CMYKcmyk(26.4%, 74.4%, 0%, 51%)
CIE-LABlab(26.13, 43.16, -40.81)
CIE-LCHlch(26.13, 59.40, 316.61°)
OKLaboklab(38.23% 0.0991 -0.1155)
OKLCHoklch(38.23% 0.152 310.6)
XYZxyz(8.6311, 4.7892, 19.8678)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C207D #417D20
analogous
#2D207D #5C207D #7D206F
triadic
#5C207D #7D5C20 #207D5C
tetradic
#5C207D #7D2D20 #417D20 #206F7D
square
#5C207D #7D2D20 #417D20 #206F7D
split-complementary
#5C207D #6F7D20 #207D2D
monochromatic
#14071C #38144C #5C207D #802CAE #A047D0

Accessibility & contrast

On white

10.73
#5C207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#5C207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C207D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C207D#FFFFFF#000000##FFFFFF
##5C207D1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#103F7B
Tritanopia (blue-blind)
#58354C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5c207d;
/* rgb */ color: rgb(92, 32, 125);
/* oklch */ color: oklch(38.2% 0.152 310.6);
Tailwind
colors: {
  custom: {
    50: '#8e61a3',
    500: '#5c207d',
    950: '#000000',
  },
}
SCSS
$custom: #5c207d;
$custom-light: #8e61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c207d",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 278.71,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38231,
    "c": 0.15218,
    "h": 310.6
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#5C207D
secondary
#6DB049
accent
#E2457D
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5C207D

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

Preview Lab → · Contrast checker → · Palette generator →

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