#7D1C71#7D1C71

#7D1C71 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.162 H 333.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7D1C71
RGBrgb(125, 28, 113)
HSLhsl(307, 63%, 30%)
HSVhsv(307, 78%, 49%)
CMYKcmyk(0%, 77.6%, 9.6%, 51%)
CIE-LABlab(30.36, 49.98, -26.11)
CIE-LCHlch(30.36, 56.38, 332.42°)
OKLaboklab(42.11% 0.1448 -0.0716)
OKLCHoklch(42.11% 0.162 333.7)
XYZxyz(11.8534, 6.3838, 16.2275)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C71 #1C7D28
analogous
#591C7D #7D1C71 #7D1C40
triadic
#7D1C71 #717D1C #1C717D
tetradic
#7D1C71 #7D591C #1C7D28 #1C407D
square
#7D1C71 #7D591C #1C7D28 #1C407D
split-complementary
#7D1C71 #407D1C #1C7D59
monochromatic
#190617 #4B1144 #7D1C71 #AF279E #D43FC2

Accessibility & contrast

On white

9.22
#7D1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C71
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C71#FFFFFF#000000##FFFFFF
##7D1C711.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F73
Deuteranopia (green-blind)
#3E4C6F
Tritanopia (blue-blind)
#832645
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1c71;
/* rgb */ color: rgb(125, 28, 113);
/* oklch */ color: oklch(42.1% 0.162 333.7);
Tailwind
colors: {
  custom: {
    50: '#a6649a',
    500: '#7d1c71',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c71;
$custom-light: #a6649a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c71",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 307.423,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42106,
    "c": 0.16154,
    "h": 333.7
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#7D1C71
secondary
#44B152
accent
#E65641
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1C71

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

Preview Lab → · Contrast checker → · Palette generator →

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