#7C1277#7C1277

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

Color values

HEX#7C1277
RGBrgb(124, 18, 119)
HSLhsl(303, 75%, 28%)
HSVhsv(303, 85%, 49%)
CMYKcmyk(0%, 85.5%, 4%, 51.4%)
CIE-LABlab(29.54, 53.55, -31.23)
CIE-LCHlch(29.54, 61.99, 329.75°)
OKLaboklab(41.6% 0.1521 -0.0864)
OKLCHoklch(41.6% 0.175 330.4)
XYZxyz(11.8582, 6.0506, 17.9925)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1277 #127C17
analogous
#4C127C #7C1277 #7C1242
triadic
#7C1277 #777C12 #12777C
tetradic
#7C1277 #7C4C12 #127C17 #12427C
square
#7C1277 #7C4C12 #127C17 #12427C
split-complementary
#7C1277 #427C12 #127C4C
monochromatic
#1B041A #470A44 #7C1277 #B11AAA #E029D7

Accessibility & contrast

On white

9.50
#7C1277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1277
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1277#FFFFFF#000000##FFFFFF
##7C12771.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1277;
/* rgb */ color: rgb(124, 18, 119);
/* oklch */ color: oklch(41.6% 0.175 330.4);
Tailwind
colors: {
  custom: {
    50: '#a6609f',
    500: '#7c1277',
    950: '#000000',
  },
}
SCSS
$custom: #7c1277;
$custom-light: #a6609f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1277",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 119
  },
  "hsl": {
    "h": 302.83,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41596,
    "c": 0.17489,
    "h": 330.4
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#7C1277
secondary
#38B23E
accent
#F13F37
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1277

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

Preview Lab → · Contrast checker → · Palette generator →

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