#7F1470#7F1470

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

Color values

HEX#7F1470
RGBrgb(127, 20, 112)
HSLhsl(308, 73%, 29%)
HSVhsv(308, 84%, 50%)
CMYKcmyk(0%, 84.3%, 11.8%, 50.2%)
CIE-LABlab(29.87, 52.61, -26.21)
CIE-LCHlch(29.87, 58.78, 333.51°)
OKLaboklab(41.81% 0.1537 -0.0718)
OKLCHoklch(41.81% 0.17 335)
XYZxyz(11.9274, 6.1833, 15.8914)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1470 #147F23
analogous
#59147F #7F1470 #7F143B
triadic
#7F1470 #707F14 #14707F
tetradic
#7F1470 #7F5914 #147F23 #143B7F
square
#7F1470 #7F5914 #147F23 #143B7F
split-complementary
#7F1470 #3B7F14 #147F59
monochromatic
#1A0417 #4A0C41 #7F1470 #B41C9F #DE2FC6

Accessibility & contrast

On white

9.39
#7F1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1470
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1470#FFFFFF#000000##FFFFFF
##7F14701.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C72
Deuteranopia (green-blind)
#3D4C6E
Tritanopia (blue-blind)
#861F42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1470;
/* rgb */ color: rgb(127, 20, 112);
/* oklch */ color: oklch(41.8% 0.170 335.0);
Tailwind
colors: {
  custom: {
    50: '#a86199',
    500: '#7f1470',
    950: '#000000',
  },
}
SCSS
$custom: #7f1470;
$custom-light: #a86199;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1470",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 308.411,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.16965,
    "h": 335
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#7F1470
secondary
#3BB44C
accent
#EF5238
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1470

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

Preview Lab → · Contrast checker → · Palette generator →

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