#7D1F70#7D1F70

#7D1F70 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.157 H 334.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7D1F70
RGBrgb(125, 31, 112)
HSLhsl(308, 60%, 31%)
HSVhsv(308, 75%, 49%)
CMYKcmyk(0%, 75.2%, 10.4%, 51%)
CIE-LABlab(30.67, 48.79, -24.99)
CIE-LCHlch(30.67, 54.82, 332.88°)
OKLaboklab(42.31% 0.1417 -0.0684)
OKLCHoklch(42.31% 0.157 334.2)
XYZxyz(11.8722, 6.5108, 15.9575)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F70 #1F7D2C
analogous
#5B1F7D #7D1F70 #7D1F41
triadic
#7D1F70 #707D1F #1F707D
tetradic
#7D1F70 #7D5B1F #1F7D2C #1F417D
square
#7D1F70 #7D5B1F #1F7D2C #1F417D
split-complementary
#7D1F70 #417D1F #1F7D5B
monochromatic
#1B0718 #4C1344 #7D1F70 #AE2B9C #D145BE

Accessibility & contrast

On white

9.12
#7D1F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D1F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F70
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F70#FFFFFF#000000##FFFFFF
##7D1F701.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F72
Deuteranopia (green-blind)
#3F4D6E
Tritanopia (blue-blind)
#832745
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1f70;
/* rgb */ color: rgb(125, 31, 112);
/* oklch */ color: oklch(42.3% 0.157 334.2);
Tailwind
colors: {
  custom: {
    50: '#a66599',
    500: '#7d1f70',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f70;
$custom-light: #a66599;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f70",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 308.298,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.15737,
    "h": 334.2
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#7D1F70
secondary
#48B056
accent
#E35A44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1F70

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

Preview Lab → · Contrast checker → · Palette generator →

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