#7C1776#7C1776

#7C1776 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.170 H 330.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7C1776
RGBrgb(124, 23, 118)
HSLhsl(304, 69%, 29%)
HSVhsv(304, 81%, 49%)
CMYKcmyk(0%, 81.5%, 4.8%, 51.4%)
CIE-LABlab(29.93, 52.09, -29.98)
CIE-LCHlch(29.93, 60.10, 330.07°)
OKLaboklab(41.85% 0.1484 -0.0828)
OKLCHoklch(41.85% 0.17 330.8)
XYZxyz(11.8886, 6.2069, 17.7079)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1776 #177C1D
analogous
#50177C #7C1776 #7C1744
triadic
#7C1776 #767C17 #17767C
tetradic
#7C1776 #7C5017 #177C1D #17447C
square
#7C1776 #7C5017 #177C1D #17447C
split-complementary
#7C1776 #447C17 #177C50
monochromatic
#1A0519 #480D45 #7C1776 #B021A7 #D934D0

Accessibility & contrast

On white

9.37
#7C1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7C1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1776
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1776#FFFFFF#000000##FFFFFF
##7C17761.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093E78
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#812546
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1776;
/* rgb */ color: rgb(124, 23, 118);
/* oklch */ color: oklch(41.9% 0.170 330.8);
Tailwind
colors: {
  custom: {
    50: '#a5629e',
    500: '#7c1776',
    950: '#000000',
  },
}
SCSS
$custom: #7c1776;
$custom-light: #a5629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1776",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 303.564,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41854,
    "c": 0.16988,
    "h": 330.8
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#7C1776
secondary
#3EB145
accent
#EC473C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1776

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

Preview Lab → · Contrast checker → · Palette generator →

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