#7D1C99#7D1C99

#7D1C99 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.194 H 317.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7D1C99
RGBrgb(125, 28, 153)
HSLhsl(287, 69%, 35%)
HSVhsv(287, 82%, 60%)
CMYKcmyk(18.3%, 81.7%, 0%, 40%)
CIE-LABlab(32.90, 57.14, -46.99)
CIE-LCHlch(32.90, 73.98, 320.57°)
OKLaboklab(44.72% 0.1422 -0.1325)
OKLCHoklch(44.72% 0.194 317)
XYZxyz(14.6216, 7.4910, 30.8065)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C99 #38991C
analogous
#3E1C99 #7D1C99 #991C76
triadic
#7D1C99 #997D1C #1C997D
tetradic
#7D1C99 #993E1C #38991C #1C7699
square
#7D1C99 #993E1C #38991C #1C7699
split-complementary
#7D1C99 #76991C #1C993E
monochromatic
#280932 #531365 #7D1C99 #A725CD #BF50DF

Accessibility & contrast

On white

8.41
#7D1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D1C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C99
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C99#FFFFFF#000000##FFFFFF
##7D1C991.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#1E5096
Tritanopia (blue-blind)
#7B3A5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d1c99;
/* rgb */ color: rgb(125, 28, 153);
/* oklch */ color: oklch(44.7% 0.194 317.0);
Tailwind
colors: {
  custom: {
    50: '#a766b8',
    500: '#7d1c99',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c99;
$custom-light: #a766b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c99",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 286.56,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44722,
    "c": 0.1943,
    "h": 317
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#7D1C99
secondary
#69C24F
accent
#EC3C63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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