#7D1970#7D1970

#7D1970 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.164 H 334.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7D1970
RGBrgb(125, 25, 112)
HSLhsl(308, 67%, 29%)
HSVhsv(308, 80%, 49%)
CMYKcmyk(0%, 80%, 10.4%, 51%)
CIE-LABlab(29.98, 50.76, -26.07)
CIE-LCHlch(29.98, 57.07, 332.81°)
OKLaboklab(41.81% 0.1475 -0.0715)
OKLCHoklch(41.81% 0.164 334.2)
XYZxyz(11.7298, 6.2261, 15.9101)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1970 #197D26
analogous
#58197D #7D1970 #7D193E
triadic
#7D1970 #707D19 #19707D
tetradic
#7D1970 #7D5819 #197D26 #193E7D
square
#7D1970 #7D5819 #197D26 #193E7D
split-complementary
#7D1970 #3E7D19 #197D58
monochromatic
#1A0517 #4A0F42 #7D1970 #B0239E #D739C3

Accessibility & contrast

On white

9.35
#7D1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D1970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1970
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1970#FFFFFF#000000##FFFFFF
##7D19701.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D72
Deuteranopia (green-blind)
#3D4C6E
Tritanopia (blue-blind)
#832343
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1970;
/* rgb */ color: rgb(125, 25, 112);
/* oklch */ color: oklch(41.8% 0.164 334.2);
Tailwind
colors: {
  custom: {
    50: '#a66399',
    500: '#7d1970',
    950: '#000000',
  },
}
SCSS
$custom: #7d1970;
$custom-light: #a66399;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1970",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 307.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41813,
    "c": 0.16393,
    "h": 334.2
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#7D1970
secondary
#40B14F
accent
#EA543E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1970

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

Preview Lab → · Contrast checker → · Palette generator →

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