#7D1C7B#7D1C7B

#7D1C7B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.169 H 329.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7D1C7B
RGBrgb(125, 28, 123)
HSLhsl(301, 63%, 30%)
HSVhsv(301, 78%, 49%)
CMYKcmyk(0%, 77.6%, 1.6%, 51%)
CIE-LABlab(30.93, 51.63, -31.55)
CIE-LCHlch(30.93, 60.51, 328.58°)
OKLaboklab(42.7% 0.1451 -0.0873)
OKLCHoklch(42.7% 0.169 329)
XYZxyz(12.4477, 6.6215, 19.3575)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C7B #1C7D1E
analogous
#4E1C7D #7D1C7B #7D1C4B
triadic
#7D1C7B #7B7D1C #1C7B7D
tetradic
#7D1C7B #7D4E1C #1C7D1E #1C4B7D
square
#7D1C7B #7D4E1C #1C7D1E #1C4B7D
split-complementary
#7D1C7B #4B7D1C #1C7D4E
monochromatic
#190619 #4B114A #7D1C7B #AF27AC #D43FD1

Accessibility & contrast

On white

9.04
#7D1C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7D1C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C7B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C7B#FFFFFF#000000##FFFFFF
##7D1C7B1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09417E
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#812B4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1c7b;
/* rgb */ color: rgb(125, 28, 123);
/* oklch */ color: oklch(42.7% 0.169 329.0);
Tailwind
colors: {
  custom: {
    50: '#a664a1',
    500: '#7d1c7b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c7b;
$custom-light: #a664a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c7b",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 301.237,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42697,
    "c": 0.16933,
    "h": 329
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#7D1C7B
secondary
#44B146
accent
#E64541
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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