#7C1672#7C1672

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

Color values

HEX#7C1672
RGBrgb(124, 22, 114)
HSLhsl(306, 70%, 29%)
HSVhsv(306, 82%, 49%)
CMYKcmyk(0%, 82.3%, 8.1%, 51.4%)
CIE-LABlab(29.60, 51.72, -27.95)
CIE-LCHlch(29.60, 58.79, 331.61°)
OKLaboklab(41.55% 0.1491 -0.0769)
OKLCHoklch(41.55% 0.168 332.7)
XYZxyz(11.6364, 6.0748, 16.4760)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1672 #167C20
analogous
#53167C #7C1672 #7C163F
triadic
#7C1672 #727C16 #16727C
tetradic
#7C1672 #7C5316 #167C20 #163F7C
square
#7C1672 #7C5316 #167C20 #163F7C
split-complementary
#7C1672 #3F7C16 #167C53
monochromatic
#1A0518 #480D42 #7C1672 #B01FA2 #DB32CA

Accessibility & contrast

On white

9.48
#7C1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1672
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1672#FFFFFF#000000##FFFFFF
##7C16721.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D74
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#822344
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1672;
/* rgb */ color: rgb(124, 22, 114);
/* oklch */ color: oklch(41.5% 0.168 332.7);
Tailwind
colors: {
  custom: {
    50: '#a5619b',
    500: '#7c1672',
    950: '#000000',
  },
}
SCSS
$custom: #7c1672;
$custom-light: #a5619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1672",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 305.882,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41545,
    "c": 0.16778,
    "h": 332.7
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#7C1672
secondary
#3DB148
accent
#ED4D3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1672

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

Preview Lab → · Contrast checker → · Palette generator →

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