#5C107C#5C107C

#5C107C is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.7% C 0.168 H 312.6°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#5C107C
RGBrgb(92, 16, 124)
HSLhsl(282, 77%, 27%)
HSVhsv(282, 87%, 49%)
CMYKcmyk(25.8%, 87.1%, 0%, 51.4%)
CIE-LABlab(24.00, 48.83, -43.61)
CIE-LCHlch(24.00, 65.47, 318.23°)
OKLaboklab(36.71% 0.1135 -0.1236)
OKLCHoklch(36.71% 0.168 312.6)
XYZxyz(8.2363, 4.1014, 19.4227)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C107C #307C10
analogous
#26107C #5C107C #7C1066
triadic
#5C107C #7C5C10 #107C5C
tetradic
#5C107C #7C2610 #307C10 #10667C
square
#5C107C #7C2610 #307C10 #10667C
split-complementary
#5C107C #667C10 #107C26
monochromatic
#14031B #340946 #5C107C #8417B2 #AA24E3

Accessibility & contrast

On white

11.54
#5C107C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5C107C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C107C
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C107C#FFFFFF#000000##FFFFFF
##5C107C1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#582D48
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c107c;
/* rgb */ color: rgb(92, 16, 124);
/* oklch */ color: oklch(36.7% 0.168 312.6);
Tailwind
colors: {
  custom: {
    50: '#8f5ba3',
    500: '#5c107c',
    950: '#000000',
  },
}
SCSS
$custom: #5c107c;
$custom-light: #8f5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c107c",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 124
  },
  "hsl": {
    "h": 282.222,
    "s": 77.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36714,
    "c": 0.16781,
    "h": 312.6
  },
  "luminance": 0.04101
}

Semantic roles & 50–950 ramp

primary
#5C107C
secondary
#5AB235
accent
#F4346D
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #5C107C

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

Preview Lab → · Contrast checker → · Palette generator →

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