#7D1C7A#7D1C7A

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

Color values

HEX#7D1C7A
RGBrgb(125, 28, 122)
HSLhsl(302, 63%, 30%)
HSVhsv(302, 78%, 49%)
CMYKcmyk(0%, 77.6%, 2.4%, 51%)
CIE-LABlab(30.87, 51.46, -31.01)
CIE-LCHlch(30.87, 60.08, 328.93°)
OKLaboklab(42.64% 0.1451 -0.0858)
OKLCHoklch(42.64% 0.169 329.4)
XYZxyz(12.3855, 6.5966, 19.0295)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C7A #1C7D1F
analogous
#501C7D #7D1C7A #7D1C49
triadic
#7D1C7A #7A7D1C #1C7A7D
tetradic
#7D1C7A #7D501C #1C7D1F #1C497D
square
#7D1C7A #7D501C #1C7D1F #1C497D
split-complementary
#7D1C7A #497D1C #1C7D50
monochromatic
#190618 #4B1149 #7D1C7A #AF27AB #D43FCF

Accessibility & contrast

On white

9.05
#7D1C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C7A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C7A#FFFFFF#000000##FFFFFF
##7D1C7A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407D
Deuteranopia (green-blind)
#394D78
Tritanopia (blue-blind)
#822A4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1c7a;
/* rgb */ color: rgb(125, 28, 122);
/* oklch */ color: oklch(42.6% 0.169 329.4);
Tailwind
colors: {
  custom: {
    50: '#a664a1',
    500: '#7d1c7a',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c7a;
$custom-light: #a664a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c7a",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 301.856,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42636,
    "c": 0.16854,
    "h": 329.4
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#7D1C7A
secondary
#44B147
accent
#E64641
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D1C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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