#7C1177#7C1177

#7C1177 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.176 H 330.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7C1177
RGBrgb(124, 17, 119)
HSLhsl(303, 76%, 28%)
HSVhsv(303, 86%, 49%)
CMYKcmyk(0%, 86.3%, 4%, 51.4%)
CIE-LABlab(29.46, 53.78, -31.36)
CIE-LCHlch(29.46, 62.26, 329.75°)
OKLaboklab(41.54% 0.1528 -0.0867)
OKLCHoklch(41.54% 0.176 330.4)
XYZxyz(11.8424, 6.0189, 17.9872)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1177 #117C16
analogous
#4C117C #7C1177 #7C1141
triadic
#7C1177 #777C11 #11777C
tetradic
#7C1177 #7C4C11 #117C16 #11417C
square
#7C1177 #7C4C11 #117C16 #11417C
split-complementary
#7C1177 #417C11 #117C4C
monochromatic
#1B041A #460A43 #7C1177 #B218AB #E126D9

Accessibility & contrast

On white

9.53
#7C1177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C1177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1177
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1177#FFFFFF#000000##FFFFFF
##7C11771.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#364A75
Tritanopia (blue-blind)
#812346
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1177;
/* rgb */ color: rgb(124, 17, 119);
/* oklch */ color: oklch(41.5% 0.176 330.4);
Tailwind
colors: {
  custom: {
    50: '#a6609f',
    500: '#7c1177',
    950: '#000000',
  },
}
SCSS
$custom: #7c1177;
$custom-light: #a6609f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1177",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 119
  },
  "hsl": {
    "h": 302.804,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4154,
    "c": 0.17565,
    "h": 330.4
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#7C1177
secondary
#37B23C
accent
#F23E35
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7C1177

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

Preview Lab → · Contrast checker → · Palette generator →

#7C1177 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva