#7F1670#7F1670

#7F1670 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.168 H 335.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7F1670
RGBrgb(127, 22, 112)
HSLhsl(309, 70%, 29%)
HSVhsv(309, 83%, 50%)
CMYKcmyk(0%, 82.7%, 11.8%, 50.2%)
CIE-LABlab(30.05, 52.09, -25.93)
CIE-LCHlch(30.05, 58.18, 333.54°)
OKLaboklab(41.94% 0.1522 -0.071)
OKLCHoklch(41.94% 0.168 335)
XYZxyz(11.9641, 6.2568, 15.9037)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1670 #167F25
analogous
#5A167F #7F1670 #7F163C
triadic
#7F1670 #707F16 #16707F
tetradic
#7F1670 #7F5A16 #167F25 #163C7F
square
#7F1670 #7F5A16 #167F25 #163C7F
split-complementary
#7F1670 #3C7F16 #167F5A
monochromatic
#1A0517 #4B0D42 #7F1670 #B31F9E #DC34C4

Accessibility & contrast

On white

9.33
#7F1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1670
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1670#FFFFFF#000000##FFFFFF
##7F16701.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D72
Deuteranopia (green-blind)
#3E4C6E
Tritanopia (blue-blind)
#862043
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1670;
/* rgb */ color: rgb(127, 22, 112);
/* oklch */ color: oklch(41.9% 0.168 335.0);
Tailwind
colors: {
  custom: {
    50: '#a86299',
    500: '#7f1670',
    950: '#000000',
  },
}
SCSS
$custom: #7f1670;
$custom-light: #a86299;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1670",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 308.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41937,
    "c": 0.1679,
    "h": 335
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#7F1670
secondary
#3DB44E
accent
#ED543B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1670

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

Preview Lab → · Contrast checker → · Palette generator →

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