#7C1670#7C1670

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

Color values

HEX#7C1670
RGBrgb(124, 22, 112)
HSLhsl(307, 70%, 29%)
HSVhsv(307, 82%, 49%)
CMYKcmyk(0%, 82.3%, 9.7%, 51.4%)
CIE-LABlab(29.49, 51.40, -26.86)
CIE-LCHlch(29.49, 58.00, 332.42°)
OKLaboklab(41.43% 0.1491 -0.0737)
OKLCHoklch(41.43% 0.166 333.7)
XYZxyz(11.5238, 6.0298, 15.8830)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1670 #167C22
analogous
#55167C #7C1670 #7C163D
triadic
#7C1670 #707C16 #16707C
tetradic
#7C1670 #7C5516 #167C22 #163D7C
square
#7C1670 #7C5516 #167C22 #163D7C
split-complementary
#7C1670 #3D7C16 #167C55
monochromatic
#1A0517 #480D41 #7C1670 #B01F9F #DB32C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1670#FFFFFF#000000##FFFFFF
##7C16701.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)
#123C72
Deuteranopia (green-blind)
#3B4B6E
Tritanopia (blue-blind)
#822143
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1670;
/* rgb */ color: rgb(124, 22, 112);
/* oklch */ color: oklch(41.4% 0.166 333.7);
Tailwind
colors: {
  custom: {
    50: '#a56199',
    500: '#7c1670',
    950: '#000000',
  },
}
SCSS
$custom: #7c1670;
$custom-light: #a56199;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1670",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 307.059,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41428,
    "c": 0.16629,
    "h": 333.7
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#7C1670
secondary
#3DB14A
accent
#ED503B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1670

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

Preview Lab → · Contrast checker → · Palette generator →

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