#7C1680#7C1680

#7C1680 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.179 H 326.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7C1680
RGBrgb(124, 22, 128)
HSLhsl(298, 71%, 29%)
HSVhsv(298, 83%, 50%)
CMYKcmyk(3.1%, 82.8%, 0%, 49.8%)
CIE-LABlab(30.44, 54.05, -35.47)
CIE-LCHlch(30.44, 64.65, 326.72°)
OKLaboklab(42.42% 0.1488 -0.0987)
OKLCHoklch(42.42% 0.179 326.4)
XYZxyz(12.4951, 6.4183, 20.9986)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1680 #1A8016
analogous
#471680 #7C1680 #80164F
triadic
#7C1680 #807C16 #16807C
tetradic
#7C1680 #804716 #1A8016 #164F80
square
#7C1680 #804716 #1A8016 #164F80
split-complementary
#7C1680 #4F8016 #168047
monochromatic
#19041A #490D4C #7C1680 #AF1FB4 #D634DC

Accessibility & contrast

On white

9.20
#7C1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7C1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1680
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1680#FFFFFF#000000##FFFFFF
##7C16801.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#7F2A4C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c1680;
/* rgb */ color: rgb(124, 22, 128);
/* oklch */ color: oklch(42.4% 0.179 326.4);
Tailwind
colors: {
  custom: {
    50: '#a662a5',
    500: '#7c1680',
    950: '#000000',
  },
}
SCSS
$custom: #7c1680;
$custom-light: #a662a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1680",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 297.736,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42417,
    "c": 0.17854,
    "h": 326.4
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#7C1680
secondary
#42B53D
accent
#ED3A41
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1680

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

Preview Lab → · Contrast checker → · Palette generator →

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