#7D1C78#7D1C78

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

Color values

HEX#7D1C78
RGBrgb(125, 28, 120)
HSLhsl(303, 63%, 30%)
HSVhsv(303, 78%, 49%)
CMYKcmyk(0%, 77.6%, 4%, 51%)
CIE-LABlab(30.75, 51.13, -29.93)
CIE-LCHlch(30.75, 59.24, 329.65°)
OKLaboklab(42.52% 0.1451 -0.0826)
OKLCHoklch(42.52% 0.167 330.3)
XYZxyz(12.2628, 6.5475, 18.3836)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C78 #1C7D21
analogous
#521C7D #7D1C78 #7D1C47
triadic
#7D1C78 #787D1C #1C787D
tetradic
#7D1C78 #7D521C #1C7D21 #1C477D
square
#7D1C78 #7D521C #1C7D21 #1C477D
split-complementary
#7D1C78 #477D1C #1C7D52
monochromatic
#190618 #4B1148 #7D1C78 #AF27A8 #D43FCC

Accessibility & contrast

On white

9.09
#7D1C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7D1C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C78
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C78#FFFFFF#000000##FFFFFF
##7D1C781.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407A
Deuteranopia (green-blind)
#3A4D76
Tritanopia (blue-blind)
#822949
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1c78;
/* rgb */ color: rgb(125, 28, 120);
/* oklch */ color: oklch(42.5% 0.167 330.3);
Tailwind
colors: {
  custom: {
    50: '#a6649f',
    500: '#7d1c78',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c78;
$custom-light: #a6649f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c78",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 303.093,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42515,
    "c": 0.16696,
    "h": 330.3
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#7D1C78
secondary
#44B14A
accent
#E64A41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1C78

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

Preview Lab → · Contrast checker → · Palette generator →

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