#7C1276#7C1276

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

Color values

HEX#7C1276
RGBrgb(124, 18, 118)
HSLhsl(303, 75%, 28%)
HSVhsv(303, 85%, 49%)
CMYKcmyk(0%, 85.5%, 4.8%, 51.4%)
CIE-LABlab(29.48, 53.39, -30.69)
CIE-LCHlch(29.48, 61.58, 330.10°)
OKLaboklab(41.53% 0.1521 -0.0848)
OKLCHoklch(41.53% 0.174 330.9)
XYZxyz(11.7985, 6.0267, 17.6779)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1276 #127C18
analogous
#4D127C #7C1276 #7C1241
triadic
#7C1276 #767C12 #12767C
tetradic
#7C1276 #7C4D12 #127C18 #12417C
square
#7C1276 #7C4D12 #127C18 #12417C
split-complementary
#7C1276 #417C12 #127C4D
monochromatic
#1B0419 #470A43 #7C1276 #B11AA9 #E029D5

Accessibility & contrast

On white

9.52
#7C1276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7C1276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1276
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1276#FFFFFF#000000##FFFFFF
##7C12761.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#374A74
Tritanopia (blue-blind)
#812345
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1276;
/* rgb */ color: rgb(124, 18, 118);
/* oklch */ color: oklch(41.5% 0.174 330.9);
Tailwind
colors: {
  custom: {
    50: '#a6609e',
    500: '#7c1276',
    950: '#000000',
  },
}
SCSS
$custom: #7c1276;
$custom-light: #a6609e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1276",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 303.396,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41534,
    "c": 0.17414,
    "h": 330.9
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#7C1276
secondary
#38B23F
accent
#F14137
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1276

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

Preview Lab → · Contrast checker → · Palette generator →

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