#5C1075#5C1075

#5C1075 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.1% C 0.162 H 315.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#5C1075
RGBrgb(92, 16, 117)
HSLhsl(285, 76%, 26%)
HSVhsv(285, 86%, 46%)
CMYKcmyk(21.4%, 86.3%, 0%, 54.1%)
CIE-LABlab(23.44, 47.36, -40.06)
CIE-LCHlch(23.44, 62.03, 319.78°)
OKLaboklab(36.14% 0.1152 -0.1132)
OKLCHoklch(36.14% 0.162 315.5)
XYZxyz(7.8093, 3.9306, 17.1735)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1075 #297510
analogous
#2A1075 #5C1075 #75105B
triadic
#5C1075 #755C10 #10755C
tetradic
#5C1075 #752A10 #297510 #105B75
square
#5C1075 #752A10 #297510 #105B75
split-complementary
#5C1075 #5B7510 #10752A
monochromatic
#15041B #32093F #5C1075 #8617AB #B11FE0

Accessibility & contrast

On white

11.76
#5C1075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5C1075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1075
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1075#FFFFFF#000000##FFFFFF
##5C10751.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#0B3A73
Tritanopia (blue-blind)
#5A2A44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1075;
/* rgb */ color: rgb(92, 16, 117);
/* oklch */ color: oklch(36.1% 0.162 315.5);
Tailwind
colors: {
  custom: {
    50: '#8e5a9d',
    500: '#5c1075',
    950: '#000000',
  },
}
SCSS
$custom: #5c1075;
$custom-light: #8e5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1075",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 285.149,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36144,
    "c": 0.16152,
    "h": 315.5
  },
  "luminance": 0.0393
}

Semantic roles & 50–950 ramp

primary
#5C1075
secondary
#52AC35
accent
#F33564
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1075

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

Preview Lab → · Contrast checker → · Palette generator →

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