#7D1C73#7D1C73

#7D1C73 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.163 H 332.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7D1C73
RGBrgb(125, 28, 115)
HSLhsl(306, 63%, 30%)
HSVhsv(306, 78%, 49%)
CMYKcmyk(0%, 77.6%, 8%, 51%)
CIE-LABlab(30.47, 50.30, -27.21)
CIE-LCHlch(30.47, 57.19, 331.59°)
OKLaboklab(42.22% 0.1449 -0.0747)
OKLCHoklch(42.22% 0.163 332.7)
XYZxyz(11.9673, 6.4293, 16.8270)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C73 #1C7D26
analogous
#571C7D #7D1C73 #7D1C42
triadic
#7D1C73 #737D1C #1C737D
tetradic
#7D1C73 #7D571C #1C7D26 #1C427D
square
#7D1C73 #7D571C #1C7D26 #1C427D
split-complementary
#7D1C73 #427D1C #1C7D57
monochromatic
#190617 #4B1145 #7D1C73 #AF27A1 #D43FC5

Accessibility & contrast

On white

9.19
#7D1C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D1C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C73
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C73#FFFFFF#000000##FFFFFF
##7D1C731.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F75
Deuteranopia (green-blind)
#3D4D71
Tritanopia (blue-blind)
#832746
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1c73;
/* rgb */ color: rgb(125, 28, 115);
/* oklch */ color: oklch(42.2% 0.163 332.7);
Tailwind
colors: {
  custom: {
    50: '#a6649b',
    500: '#7d1c73',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c73;
$custom-light: #a6649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c73",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 306.186,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42221,
    "c": 0.16307,
    "h": 332.7
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#7D1C73
secondary
#44B14F
accent
#E65241
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1C73

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

Preview Lab → · Contrast checker → · Palette generator →

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