#7D2A70#7D2A70

#7D2A70 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.143 H 334.5°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7D2A70
RGBrgb(125, 42, 112)
HSLhsl(309, 50%, 33%)
HSVhsv(309, 66%, 49%)
CMYKcmyk(0%, 66.4%, 10.4%, 51%)
CIE-LABlab(32.23, 44.41, -22.54)
CIE-LCHlch(32.23, 49.80, 333.09°)
OKLaboklab(43.44% 0.1289 -0.0615)
OKLCHoklch(43.44% 0.143 334.5)
XYZxyz(12.2101, 7.1867, 16.0702)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A70 #2A7D37
analogous
#612A7D #7D2A70 #7D2A46
triadic
#7D2A70 #707D2A #2A707D
tetradic
#7D2A70 #7D612A #2A7D37 #2A467D
square
#7D2A70 #7D612A #2A7D37 #2A467D
split-complementary
#7D2A70 #467D2A #2A7D61
monochromatic
#210B1E #4F1B47 #7D2A70 #AB3999 #C85AB6

Accessibility & contrast

On white

8.62
#7D2A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7D2A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A70
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A70#FFFFFF#000000##FFFFFF
##7D2A701.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294472
Deuteranopia (green-blind)
#44506E
Tritanopia (blue-blind)
#833049
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2a70;
/* rgb */ color: rgb(125, 42, 112);
/* oklch */ color: oklch(43.4% 0.143 334.5);
Tailwind
colors: {
  custom: {
    50: '#a56a99',
    500: '#7d2a70',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a70;
$custom-light: #a56a99;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a70",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 309.398,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4344,
    "c": 0.14276,
    "h": 334.5
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#7D2A70
secondary
#56AD63
accent
#D9644F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2A70

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

Preview Lab → · Contrast checker → · Palette generator →

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