#7D1C70#7D1C70

#7D1C70 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.161 H 334.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7D1C70
RGBrgb(125, 28, 112)
HSLhsl(308, 63%, 30%)
HSVhsv(308, 78%, 49%)
CMYKcmyk(0%, 77.6%, 10.4%, 51%)
CIE-LABlab(30.31, 49.82, -25.55)
CIE-LCHlch(30.31, 55.99, 332.84°)
OKLaboklab(42.05% 0.1448 -0.07)
OKLCHoklch(42.05% 0.161 334.2)
XYZxyz(11.7974, 6.3614, 15.9326)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C70 #1C7D29
analogous
#591C7D #7D1C70 #7D1C40
triadic
#7D1C70 #707D1C #1C707D
tetradic
#7D1C70 #7D591C #1C7D29 #1C407D
square
#7D1C70 #7D591C #1C7D29 #1C407D
split-complementary
#7D1C70 #407D1C #1C7D59
monochromatic
#190616 #4B1143 #7D1C70 #AF279D #D43FC0

Accessibility & contrast

On white

9.24
#7D1C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D1C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C70
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C70#FFFFFF#000000##FFFFFF
##7D1C701.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E72
Deuteranopia (green-blind)
#3E4C6E
Tritanopia (blue-blind)
#832544
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1c70;
/* rgb */ color: rgb(125, 28, 112);
/* oklch */ color: oklch(42.0% 0.161 334.2);
Tailwind
colors: {
  custom: {
    50: '#a66499',
    500: '#7d1c70',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c70;
$custom-light: #a66499;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c70",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 308.041,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.4205,
    "c": 0.16078,
    "h": 334.2
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#7D1C70
secondary
#44B153
accent
#E65741
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1C70

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

Preview Lab → · Contrast checker → · Palette generator →

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