#7D2F74#7D2F74

#7D2F74 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.3% C 0.139 H 332.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7D2F74
RGBrgb(125, 47, 116)
HSLhsl(307, 45%, 34%)
HSVhsv(307, 62%, 49%)
CMYKcmyk(0%, 62.4%, 7.2%, 51%)
CIE-LABlab(33.25, 42.82, -23.47)
CIE-LCHlch(33.25, 48.83, 331.27°)
OKLaboklab(44.25% 0.1228 -0.0642)
OKLCHoklch(44.25% 0.139 332.4)
XYZxyz(12.6263, 7.6549, 17.3321)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F74 #2F7D38
analogous
#5F2F7D #7D2F74 #7D2F4D
triadic
#7D2F74 #747D2F #2F747D
tetradic
#7D2F74 #7D5F2F #2F7D38 #2F4D7D
square
#7D2F74 #7D5F2F #2F7D38 #2F4D7D
split-complementary
#7D2F74 #4D7D2F #2F7D5F
monochromatic
#240E21 #511E4B #7D2F74 #A9409D #C462B9

Accessibility & contrast

On white

8.30
#7D2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7D2F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F74
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F74#FFFFFF#000000##FFFFFF
##7D2F741.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4776
Deuteranopia (green-blind)
#455272
Tritanopia (blue-blind)
#82354D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2f74;
/* rgb */ color: rgb(125, 47, 116);
/* oklch */ color: oklch(44.3% 0.139 332.4);
Tailwind
colors: {
  custom: {
    50: '#a56d9c',
    500: '#7d2f74',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f74;
$custom-light: #a56d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f74",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 306.923,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.13853,
    "h": 332.4
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#7D2F74
secondary
#5DAB66
accent
#D56253
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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