#7D1673#7D1673

#7D1673 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.169 H 332.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7D1673
RGBrgb(125, 22, 115)
HSLhsl(306, 70%, 29%)
HSVhsv(306, 82%, 49%)
CMYKcmyk(0%, 82.4%, 8%, 51%)
CIE-LABlab(29.84, 52.10, -28.20)
CIE-LCHlch(29.84, 59.24, 331.58°)
OKLaboklab(41.77% 0.1502 -0.0776)
OKLCHoklch(41.77% 0.169 332.7)
XYZxyz(11.8389, 6.1726, 16.7842)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1673 #167D20
analogous
#54167D #7D1673 #7D1640
triadic
#7D1673 #737D16 #16737D
tetradic
#7D1673 #7D5416 #167D20 #16407D
square
#7D1673 #7D5416 #167D20 #16407D
split-complementary
#7D1673 #407D16 #167D54
monochromatic
#1A0518 #490D43 #7D1673 #B11FA3 #DB32CB

Accessibility & contrast

On white

9.40
#7D1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1673
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1673#FFFFFF#000000##FFFFFF
##7D16731.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3D75
Deuteranopia (green-blind)
#3B4B71
Tritanopia (blue-blind)
#832344
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1673;
/* rgb */ color: rgb(125, 22, 115);
/* oklch */ color: oklch(41.8% 0.169 332.7);
Tailwind
colors: {
  custom: {
    50: '#a6629b',
    500: '#7d1673',
    950: '#000000',
  },
}
SCSS
$custom: #7d1673;
$custom-light: #a6629b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1673",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 305.825,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41772,
    "c": 0.16904,
    "h": 332.7
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#7D1673
secondary
#3DB248
accent
#ED4C3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1673

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

Preview Lab → · Contrast checker → · Palette generator →

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