#7D2F77#7D2F77

#7D2F77 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.141 H 330.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7D2F77
RGBrgb(125, 47, 119)
HSLhsl(305, 45%, 34%)
HSVhsv(305, 62%, 49%)
CMYKcmyk(0%, 62.4%, 4.8%, 51%)
CIE-LABlab(33.41, 43.36, -25.12)
CIE-LCHlch(33.41, 50.11, 329.91°)
OKLaboklab(44.41% 0.1232 -0.0689)
OKLCHoklch(44.41% 0.141 330.8)
XYZxyz(12.8037, 7.7258, 18.2660)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F77 #2F7D35
analogous
#5C2F7D #7D2F77 #7D2F50
triadic
#7D2F77 #777D2F #2F777D
tetradic
#7D2F77 #7D5C2F #2F7D35 #2F507D
square
#7D2F77 #7D5C2F #2F7D35 #2F507D
split-complementary
#7D2F77 #507D2F #2F7D5C
monochromatic
#240E22 #511E4D #7D2F77 #A940A1 #C462BD

Accessibility & contrast

On white

8.25
#7D2F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D2F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F77
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F77#FFFFFF#000000##FFFFFF
##7D2F771.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4879
Deuteranopia (green-blind)
#445275
Tritanopia (blue-blind)
#82374E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2f77;
/* rgb */ color: rgb(125, 47, 119);
/* oklch */ color: oklch(44.4% 0.141 330.8);
Tailwind
colors: {
  custom: {
    50: '#a56d9e',
    500: '#7d2f77',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f77;
$custom-light: #a56d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f77",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 304.615,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44414,
    "c": 0.14114,
    "h": 330.8
  },
  "luminance": 0.07725
}

Semantic roles & 50–950 ramp

primary
#7D2F77
secondary
#5DAB63
accent
#D55D53
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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