#7D1C76#7D1C76

#7D1C76 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.165 H 331.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7D1C76
RGBrgb(125, 28, 118)
HSLhsl(304, 63%, 30%)
HSVhsv(304, 78%, 49%)
CMYKcmyk(0%, 77.6%, 5.6%, 51%)
CIE-LABlab(30.64, 50.79, -28.84)
CIE-LCHlch(30.64, 58.41, 330.41°)
OKLaboklab(42.4% 0.145 -0.0795)
OKLCHoklch(42.4% 0.165 331.3)
XYZxyz(12.1427, 6.4995, 17.7510)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C76 #1C7D23
analogous
#541C7D #7D1C76 #7D1C45
triadic
#7D1C76 #767D1C #1C767D
tetradic
#7D1C76 #7D541C #1C7D23 #1C457D
square
#7D1C76 #7D541C #1C7D23 #1C457D
split-complementary
#7D1C76 #457D1C #1C7D54
monochromatic
#190618 #4B1147 #7D1C76 #AF27A5 #D43FC9

Accessibility & contrast

On white

9.13
#7D1C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C76
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C76#FFFFFF#000000##FFFFFF
##7D1C761.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134078
Deuteranopia (green-blind)
#3B4D74
Tritanopia (blue-blind)
#822848
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1c76;
/* rgb */ color: rgb(125, 28, 118);
/* oklch */ color: oklch(42.4% 0.165 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6649e',
    500: '#7d1c76',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c76;
$custom-light: #a6649e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c76",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 304.33,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42396,
    "c": 0.16539,
    "h": 331.3
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#7D1C76
secondary
#44B14C
accent
#E64D41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1C76

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

Preview Lab → · Contrast checker → · Palette generator →

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