#7C1671#7C1671

#7C1671 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.167 H 333.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7C1671
RGBrgb(124, 22, 113)
HSLhsl(306, 70%, 29%)
HSVhsv(306, 82%, 49%)
CMYKcmyk(0%, 82.3%, 8.9%, 51.4%)
CIE-LABlab(29.54, 51.56, -27.41)
CIE-LCHlch(29.54, 58.39, 332.01°)
OKLaboklab(41.49% 0.1491 -0.0753)
OKLCHoklch(41.49% 0.167 333.2)
XYZxyz(11.5798, 6.0522, 16.1779)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1671 #167C21
analogous
#54167C #7C1671 #7C163E
triadic
#7C1671 #717C16 #16717C
tetradic
#7C1671 #7C5416 #167C21 #163E7C
square
#7C1671 #7C5416 #167C21 #163E7C
split-complementary
#7C1671 #3E7C16 #167C54
monochromatic
#1A0518 #480D42 #7C1671 #B01FA0 #DB32C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1671#FFFFFF#000000##FFFFFF
##7C16711.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)
#103C73
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#822243
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1671;
/* rgb */ color: rgb(124, 22, 113);
/* oklch */ color: oklch(41.5% 0.167 333.2);
Tailwind
colors: {
  custom: {
    50: '#a5619a',
    500: '#7c1671',
    950: '#000000',
  },
}
SCSS
$custom: #7c1671;
$custom-light: #a5619a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1671",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 306.471,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41486,
    "c": 0.16703,
    "h": 333.2
  },
  "luminance": 0.06051
}

Semantic roles & 50–950 ramp

primary
#7C1671
secondary
#3DB149
accent
#ED4E3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1671

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

Preview Lab → · Contrast checker → · Palette generator →

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