#7D1973#7D1973

#7D1973 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.166 H 332.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7D1973
RGBrgb(125, 25, 115)
HSLhsl(306, 67%, 29%)
HSVhsv(306, 80%, 49%)
CMYKcmyk(0%, 80%, 8%, 51%)
CIE-LABlab(30.14, 51.24, -27.72)
CIE-LCHlch(30.14, 58.26, 331.58°)
OKLaboklab(41.99% 0.1477 -0.0762)
OKLCHoklch(41.99% 0.166 332.7)
XYZxyz(11.8997, 6.2941, 16.8045)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1973 #197D23
analogous
#55197D #7D1973 #7D1941
triadic
#7D1973 #737D19 #19737D
tetradic
#7D1973 #7D5519 #197D23 #19417D
square
#7D1973 #7D5519 #197D23 #19417D
split-complementary
#7D1973 #417D19 #197D55
monochromatic
#1A0517 #4A0F44 #7D1973 #B023A2 #D739C8

Accessibility & contrast

On white

9.30
#7D1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1973
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1973#FFFFFF#000000##FFFFFF
##7D19731.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E75
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#832545
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1973;
/* rgb */ color: rgb(125, 25, 115);
/* oklch */ color: oklch(42.0% 0.166 332.7);
Tailwind
colors: {
  custom: {
    50: '#a6639b',
    500: '#7d1973',
    950: '#000000',
  },
}
SCSS
$custom: #7d1973;
$custom-light: #a6639b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1973",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 306,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41986,
    "c": 0.16619,
    "h": 332.7
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

primary
#7D1973
secondary
#40B14C
accent
#EA4F3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1973

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

Preview Lab → · Contrast checker → · Palette generator →

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