#7D1C91#7D1C91

#7D1C91 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.187 H 319.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#7D1C91
RGBrgb(125, 28, 145)
HSLhsl(290, 68%, 34%)
HSVhsv(290, 81%, 57%)
CMYKcmyk(13.8%, 80.7%, 0%, 43.1%)
CIE-LABlab(32.34, 55.60, -42.99)
CIE-LCHlch(32.34, 70.28, 322.29°)
OKLaboklab(44.15% 0.1434 -0.1207)
OKLCHoklch(44.15% 0.187 319.9)
XYZxyz(13.9829, 7.2355, 27.4426)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C91 #30911C
analogous
#431C91 #7D1C91 #911C6B
triadic
#7D1C91 #917D1C #1C917D
tetradic
#7D1C91 #91431C #30911C #1C6B91
square
#7D1C91 #91431C #30911C #1C6B91
split-complementary
#7D1C91 #6B911C #1C9143
monochromatic
#25082A #51125E #7D1C91 #A926C4 #C34BDC

Accessibility & contrast

On white

8.58
#7D1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7D1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C91
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C91#FFFFFF#000000##FFFFFF
##7D1C911.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#284F8E
Tritanopia (blue-blind)
#7D3657
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d1c91;
/* rgb */ color: rgb(125, 28, 145);
/* oklch */ color: oklch(44.1% 0.187 319.9);
Tailwind
colors: {
  custom: {
    50: '#a765b2',
    500: '#7d1c91',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c91;
$custom-light: #a765b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c91",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 289.744,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44147,
    "c": 0.18748,
    "h": 319.9
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#7D1C91
secondary
#5EBE4A
accent
#EB3D5B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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