#7F1B70#7F1B70

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

Color values

HEX#7F1B70
RGBrgb(127, 27, 112)
HSLhsl(309, 65%, 30%)
HSVhsv(309, 79%, 50%)
CMYKcmyk(0%, 78.7%, 11.8%, 50.2%)
CIE-LABlab(30.56, 50.62, -25.13)
CIE-LCHlch(30.56, 56.51, 333.60°)
OKLaboklab(42.3% 0.1478 -0.0687)
OKLCHoklch(42.3% 0.163 335.1)
XYZxyz(12.0691, 6.4668, 15.9387)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B70 #1B7F2A
analogous
#5C1B7F #7F1B70 #7F1B3E
triadic
#7F1B70 #707F1B #1B707F
tetradic
#7F1B70 #7F5C1B #1B7F2A #1B3E7F
square
#7F1B70 #7F5C1B #1B7F2A #1B3E7F
split-complementary
#7F1B70 #3E7F1B #1B7F5C
monochromatic
#1A0617 #4D1043 #7F1B70 #B1269D #D63EBF

Accessibility & contrast

On white

9.16
#7F1B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F1B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1B70
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B70#FFFFFF#000000##FFFFFF
##7F1B701.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1b70;
/* rgb */ color: rgb(127, 27, 112);
/* oklch */ color: oklch(42.3% 0.163 335.1);
Tailwind
colors: {
  custom: {
    50: '#a86499',
    500: '#7f1b70',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b70;
$custom-light: #a86499;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b70",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 309,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42302,
    "c": 0.163,
    "h": 335.1
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#7F1B70
secondary
#43B354
accent
#E85940
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1B70

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

Preview Lab → · Contrast checker → · Palette generator →

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