#7D2970#7D2970

#7D2970 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.144 H 334.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7D2970
RGBrgb(125, 41, 112)
HSLhsl(309, 51%, 33%)
HSVhsv(309, 67%, 49%)
CMYKcmyk(0%, 67.2%, 10.4%, 51%)
CIE-LABlab(32.07, 44.84, -22.79)
CIE-LCHlch(32.07, 50.30, 333.06°)
OKLaboklab(43.33% 0.1301 -0.0622)
OKLCHoklch(43.33% 0.144 334.5)
XYZxyz(12.1751, 7.1167, 16.0585)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2970 #297D36
analogous
#60297D #7D2970 #7D2946
triadic
#7D2970 #707D29 #29707D
tetradic
#7D2970 #7D6029 #297D36 #29467D
square
#7D2970 #7D6029 #297D36 #29467D
split-complementary
#7D2970 #467D29 #297D60
monochromatic
#210B1D #4F1A47 #7D2970 #AB3899 #C858B7

Accessibility & contrast

On white

8.67
#7D2970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7D2970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2970
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2970#FFFFFF#000000##FFFFFF
##7D29701.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284472
Deuteranopia (green-blind)
#44506E
Tritanopia (blue-blind)
#832F48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2970;
/* rgb */ color: rgb(125, 41, 112);
/* oklch */ color: oklch(43.3% 0.144 334.5);
Tailwind
colors: {
  custom: {
    50: '#a56a99',
    500: '#7d2970',
    950: '#000000',
  },
}
SCSS
$custom: #7d2970;
$custom-light: #a56a99;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2970",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 309.286,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43326,
    "c": 0.14421,
    "h": 334.5
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#7D2970
secondary
#54AE62
accent
#DA634E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2970

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

Preview Lab → · Contrast checker → · Palette generator →

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