#7D2673#7D2673

#7D2673 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.151 H 332.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7D2673
RGBrgb(125, 38, 115)
HSLhsl(307, 53%, 32%)
HSVhsv(307, 70%, 49%)
CMYKcmyk(0%, 69.6%, 8%, 51%)
CIE-LABlab(31.77, 46.61, -25.16)
CIE-LCHlch(31.77, 52.97, 331.64°)
OKLaboklab(43.16% 0.1342 -0.0689)
OKLCHoklch(43.16% 0.151 332.8)
XYZxyz(12.2451, 6.9850, 16.9196)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2673 #267D30
analogous
#5C267D #7D2673 #7D2647
triadic
#7D2673 #737D26 #26737D
tetradic
#7D2673 #7D5C26 #267D30 #26477D
square
#7D2673 #7D5C26 #267D30 #26477D
split-complementary
#7D2673 #477D26 #267D5C
monochromatic
#1F091D #4E1848 #7D2673 #AC349E #CB53BD

Accessibility & contrast

On white

8.76
#7D2673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7D2673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2673
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2673#FFFFFF#000000##FFFFFF
##7D26731.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234375
Deuteranopia (green-blind)
#414F71
Tritanopia (blue-blind)
#832E49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2673;
/* rgb */ color: rgb(125, 38, 115);
/* oklch */ color: oklch(43.2% 0.151 332.8);
Tailwind
colors: {
  custom: {
    50: '#a6689b',
    500: '#7d2673',
    950: '#000000',
  },
}
SCSS
$custom: #7d2673;
$custom-light: #a6689b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2673",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 306.897,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4316,
    "c": 0.15084,
    "h": 332.8
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#7D2673
secondary
#50AF5B
accent
#DD5C4B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2673

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

Preview Lab → · Contrast checker → · Palette generator →

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