#7D1873#7D1873

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

Color values

HEX#7D1873
RGBrgb(125, 24, 115)
HSLhsl(306, 68%, 29%)
HSVhsv(306, 81%, 49%)
CMYKcmyk(0%, 80.8%, 8%, 51%)
CIE-LABlab(30.04, 51.54, -27.89)
CIE-LCHlch(30.04, 58.60, 331.58°)
OKLaboklab(41.91% 0.1485 -0.0767)
OKLCHoklch(41.91% 0.167 332.7)
XYZxyz(11.8787, 6.2521, 16.7975)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1873 #187D22
analogous
#55187D #7D1873 #7D1841
triadic
#7D1873 #737D18 #18737D
tetradic
#7D1873 #7D5518 #187D22 #18417D
square
#7D1873 #7D5518 #187D22 #18417D
split-complementary
#7D1873 #417D18 #187D55
monochromatic
#1A0518 #4A0E44 #7D1873 #B022A2 #D937C9

Accessibility & contrast

On white

9.33
#7D1873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D1873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1873
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1873#FFFFFF#000000##FFFFFF
##7D18731.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E75
Deuteranopia (green-blind)
#3B4C71
Tritanopia (blue-blind)
#832445
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1873;
/* rgb */ color: rgb(125, 24, 115);
/* oklch */ color: oklch(41.9% 0.167 332.7);
Tailwind
colors: {
  custom: {
    50: '#a6629b',
    500: '#7d1873',
    950: '#000000',
  },
}
SCSS
$custom: #7d1873;
$custom-light: #a6629b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1873",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 115
  },
  "hsl": {
    "h": 305.941,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41912,
    "c": 0.16716,
    "h": 332.7
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

primary
#7D1873
secondary
#3FB24B
accent
#EB4E3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1873

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

Preview Lab → · Contrast checker → · Palette generator →

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