#7D1670#7D1670

#7D1670 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.167 H 334.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7D1670
RGBrgb(125, 22, 112)
HSLhsl(308, 70%, 29%)
HSVhsv(308, 82%, 49%)
CMYKcmyk(0%, 82.4%, 10.4%, 51%)
CIE-LABlab(29.68, 51.63, -26.55)
CIE-LCHlch(29.68, 58.06, 332.79°)
OKLaboklab(41.6% 0.1501 -0.0728)
OKLCHoklch(41.6% 0.167 334.1)
XYZxyz(11.6691, 6.1047, 15.8898)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1670 #167D23
analogous
#57167D #7D1670 #7D163D
triadic
#7D1670 #707D16 #16707D
tetradic
#7D1670 #7D5716 #167D23 #163D7D
square
#7D1670 #7D5716 #167D23 #163D7D
split-complementary
#7D1670 #3D7D16 #167D57
monochromatic
#1A0517 #490D41 #7D1670 #B11F9F #DB32C6

Accessibility & contrast

On white

9.46
#7D1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1670
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1670#FFFFFF#000000##FFFFFF
##7D16701.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C72
Deuteranopia (green-blind)
#3C4B6E
Tritanopia (blue-blind)
#832143
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1670;
/* rgb */ color: rgb(125, 22, 112);
/* oklch */ color: oklch(41.6% 0.167 334.1);
Tailwind
colors: {
  custom: {
    50: '#a66199',
    500: '#7d1670',
    950: '#000000',
  },
}
SCSS
$custom: #7d1670;
$custom-light: #a66199;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1670",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 307.573,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41597,
    "c": 0.16683,
    "h": 334.1
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#7D1670
secondary
#3DB24C
accent
#ED513B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1670

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

Preview Lab → · Contrast checker → · Palette generator →

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