#7D1C77#7D1C77

#7D1C77 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.166 H 330.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7D1C77
RGBrgb(125, 28, 119)
HSLhsl(304, 63%, 30%)
HSVhsv(304, 78%, 49%)
CMYKcmyk(0%, 77.6%, 4.8%, 51%)
CIE-LABlab(30.70, 50.96, -29.39)
CIE-LCHlch(30.70, 58.83, 330.03°)
OKLaboklab(42.46% 0.1451 -0.0811)
OKLCHoklch(42.46% 0.166 330.8)
XYZxyz(12.2025, 6.5234, 18.0656)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C77 #1C7D22
analogous
#521C7D #7D1C77 #7D1C47
triadic
#7D1C77 #777D1C #1C777D
tetradic
#7D1C77 #7D521C #1C7D22 #1C477D
square
#7D1C77 #7D521C #1C7D22 #1C477D
split-complementary
#7D1C77 #477D1C #1C7D52
monochromatic
#190618 #4B1147 #7D1C77 #AF27A7 #D43FCB

Accessibility & contrast

On white

9.11
#7D1C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D1C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C77
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C77#FFFFFF#000000##FFFFFF
##7D1C771.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114079
Deuteranopia (green-blind)
#3B4D75
Tritanopia (blue-blind)
#822948
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1c77;
/* rgb */ color: rgb(125, 28, 119);
/* oklch */ color: oklch(42.5% 0.166 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6649e',
    500: '#7d1c77',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c77;
$custom-light: #a6649e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c77",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 303.711,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42456,
    "c": 0.16617,
    "h": 330.8
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#7D1C77
secondary
#44B14B
accent
#E64C41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1C77

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

Preview Lab → · Contrast checker → · Palette generator →

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