#7D2D7D#7D2D7D

#7D2D7D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.149 H 327.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7D2D7D
RGBrgb(125, 45, 125)
HSLhsl(300, 47%, 33%)
HSVhsv(300, 64%, 49%)
CMYKcmyk(0%, 64%, 0%, 51%)
CIE-LABlab(33.39, 45.37, -28.91)
CIE-LCHlch(33.39, 53.80, 327.50°)
OKLaboklab(44.51% 0.1264 -0.0798)
OKLCHoklch(44.51% 0.149 327.7)
XYZxyz(13.0973, 7.7183, 20.1980)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D7D #2D7D2D
analogous
#552D7D #7D2D7D #7D2D55
triadic
#7D2D7D #7D7D2D #2D7D7D
tetradic
#7D2D7D #7D552D #2D7D2D #2D557D
square
#7D2D7D #7D552D #2D7D2D #2D557D
split-complementary
#7D2D7D #557D2D #2D7D55
monochromatic
#230D23 #501D50 #7D2D7D #AA3DAA #C55FC5

Accessibility & contrast

On white

8.26
#7D2D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7D2D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D7D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D7D#FFFFFF#000000##FFFFFF
##7D2D7D1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#40527B
Tritanopia (blue-blind)
#813751
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2d7d;
/* rgb */ color: rgb(125, 45, 125);
/* oklch */ color: oklch(44.5% 0.149 327.7);
Tailwind
colors: {
  custom: {
    50: '#a56ca3',
    500: '#7d2d7d',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d7d;
$custom-light: #a56ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d7d",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 300,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44505,
    "c": 0.14948,
    "h": 327.7
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#7D2D7D
secondary
#5AAC5A
accent
#D75151
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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