#7D1C6E#7D1C6E

#7D1C6E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.159 H 335.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7D1C6E
RGBrgb(125, 28, 110)
HSLhsl(309, 63%, 30%)
HSVhsv(309, 78%, 49%)
CMYKcmyk(0%, 77.6%, 12%, 51%)
CIE-LABlab(30.20, 49.50, -24.44)
CIE-LCHlch(30.20, 55.21, 333.72°)
OKLaboklab(41.94% 0.1446 -0.0668)
OKLCHoklch(41.94% 0.159 335.2)
XYZxyz(11.6873, 6.3173, 15.3527)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C6E #1C7D2B
analogous
#5B1C7D #7D1C6E #7D1C3E
triadic
#7D1C6E #6E7D1C #1C6E7D
tetradic
#7D1C6E #7D5B1C #1C7D2B #1C3E7D
square
#7D1C6E #7D5B1C #1C7D2B #1C3E7D
split-complementary
#7D1C6E #3E7D1C #1C7D5B
monochromatic
#190616 #4B1142 #7D1C6E #AF279A #D43FBD

Accessibility & contrast

On white

9.28
#7D1C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D1C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C6E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C6E#FFFFFF#000000##FFFFFF
##7D1C6E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E70
Deuteranopia (green-blind)
#3F4C6C
Tritanopia (blue-blind)
#832443
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1c6e;
/* rgb */ color: rgb(125, 28, 110);
/* oklch */ color: oklch(41.9% 0.159 335.2);
Tailwind
colors: {
  custom: {
    50: '#a66498',
    500: '#7d1c6e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c6e;
$custom-light: #a66498;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c6e",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 309.278,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.41938,
    "c": 0.15928,
    "h": 335.2
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#7D1C6E
secondary
#44B155
accent
#E65B41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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