#7D1C7C#7D1C7C

#7D1C7C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.170 H 328.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#7D1C7C
RGBrgb(125, 28, 124)
HSLhsl(301, 63%, 30%)
HSVhsv(301, 78%, 49%)
CMYKcmyk(0%, 77.6%, 0.8%, 51%)
CIE-LABlab(30.99, 51.80, -32.08)
CIE-LCHlch(30.99, 60.93, 328.23°)
OKLaboklab(42.76% 0.1451 -0.0889)
OKLCHoklch(42.76% 0.17 328.5)
XYZxyz(12.5107, 6.6467, 19.6889)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C7C #1C7D1D
analogous
#4E1C7D #7D1C7C #7D1C4B
triadic
#7D1C7C #7C7D1C #1C7C7D
tetradic
#7D1C7C #7D4E1C #1C7D1D #1C4B7D
square
#7D1C7C #7D4E1C #1C7D1D #1C4B7D
split-complementary
#7D1C7C #4B7D1C #1C7D4E
monochromatic
#190619 #4B114A #7D1C7C #AF27AE #D43FD3

Accessibility & contrast

On white

9.02
#7D1C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7D1C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C7C
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C7C#FFFFFF#000000##FFFFFF
##7D1C7C1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07417F
Deuteranopia (green-blind)
#384D7A
Tritanopia (blue-blind)
#812B4B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1c7c;
/* rgb */ color: rgb(125, 28, 124);
/* oklch */ color: oklch(42.8% 0.170 328.5);
Tailwind
colors: {
  custom: {
    50: '#a664a2',
    500: '#7d1c7c',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c7c;
$custom-light: #a664a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c7c",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 300.619,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42759,
    "c": 0.17013,
    "h": 328.5
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#7D1C7C
secondary
#44B145
accent
#E64341
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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