#7D2276#7D2276

#7D2276 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.158 H 331.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7D2276
RGBrgb(125, 34, 118)
HSLhsl(305, 57%, 31%)
HSVhsv(305, 73%, 49%)
CMYKcmyk(0%, 72.8%, 5.6%, 51%)
CIE-LABlab(31.38, 48.69, -27.68)
CIE-LCHlch(31.38, 56.01, 330.38°)
OKLaboklab(42.93% 0.139 -0.0762)
OKLCHoklch(42.93% 0.158 331.3)
XYZxyz(12.2995, 6.8130, 17.8033)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2276 #227D29
analogous
#56227D #7D2276 #7D2248
triadic
#7D2276 #767D22 #22767D
tetradic
#7D2276 #7D5622 #227D29 #22487D
square
#7D2276 #7D5622 #227D29 #22487D
split-complementary
#7D2276 #487D22 #227D56
monochromatic
#1D081B #4D1549 #7D2276 #AD2FA3 #CE4BC4

Accessibility & contrast

On white

8.89
#7D2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2276
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2276#FFFFFF#000000##FFFFFF
##7D22761.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4278
Deuteranopia (green-blind)
#3E4E74
Tritanopia (blue-blind)
#822C49
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2276;
/* rgb */ color: rgb(125, 34, 118);
/* oklch */ color: oklch(42.9% 0.158 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6669e',
    500: '#7d2276',
    950: '#000000',
  },
}
SCSS
$custom: #7d2276;
$custom-light: #a6669e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2276",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 304.615,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42926,
    "c": 0.15845,
    "h": 331.3
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#7D2276
secondary
#4BB053
accent
#E05347
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2276

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

Preview Lab → · Contrast checker → · Palette generator →

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