#7D2671#7D2671

#7D2671 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.149 H 333.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7D2671
RGBrgb(125, 38, 113)
HSLhsl(308, 53%, 32%)
HSVhsv(308, 70%, 49%)
CMYKcmyk(0%, 69.6%, 9.6%, 51%)
CIE-LABlab(31.67, 46.28, -24.05)
CIE-LCHlch(31.67, 52.15, 332.54°)
OKLaboklab(43.05% 0.134 -0.0658)
OKLCHoklch(43.05% 0.149 333.9)
XYZxyz(12.1313, 6.9394, 16.3201)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2671 #267D32
analogous
#5E267D #7D2671 #7D2646
triadic
#7D2671 #717D26 #26717D
tetradic
#7D2671 #7D5E26 #267D32 #26467D
square
#7D2671 #7D5E26 #267D32 #26467D
split-complementary
#7D2671 #467D26 #267D5E
monochromatic
#1F091C #4E1847 #7D2671 #AC349B #CB53BA

Accessibility & contrast

On white

8.80
#7D2671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D2671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2671
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2671#FFFFFF#000000##FFFFFF
##7D26711.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#832D48
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2671;
/* rgb */ color: rgb(125, 38, 113);
/* oklch */ color: oklch(43.0% 0.149 333.9);
Tailwind
colors: {
  custom: {
    50: '#a6689a',
    500: '#7d2671',
    950: '#000000',
  },
}
SCSS
$custom: #7d2671;
$custom-light: #a6689a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2671",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 308.276,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.14923,
    "h": 333.9
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#7D2671
secondary
#50AF5D
accent
#DD5F4B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2671

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

Preview Lab → · Contrast checker → · Palette generator →

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