#7F1474#7F1474

#7F1474 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.173 H 333.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7F1474
RGBrgb(127, 20, 116)
HSLhsl(306, 73%, 29%)
HSVhsv(306, 84%, 50%)
CMYKcmyk(0%, 84.3%, 8.7%, 50.2%)
CIE-LABlab(30.09, 53.23, -28.41)
CIE-LCHlch(30.09, 60.33, 331.91°)
OKLaboklab(42.04% 0.1538 -0.0781)
OKLCHoklch(42.04% 0.173 333.1)
XYZxyz(12.1550, 6.2744, 17.0905)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1474 #147F1F
analogous
#55147F #7F1474 #7F143F
triadic
#7F1474 #747F14 #14747F
tetradic
#7F1474 #7F5514 #147F1F #143F7F
square
#7F1474 #7F5514 #147F1F #143F7F
split-complementary
#7F1474 #3F7F14 #147F55
monochromatic
#1A0418 #4A0C44 #7F1474 #B41CA4 #DE2FCC

Accessibility & contrast

On white

9.31
#7F1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1474
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1474#FFFFFF#000000##FFFFFF
##7F14741.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D76
Deuteranopia (green-blind)
#3B4C72
Tritanopia (blue-blind)
#852245
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1474;
/* rgb */ color: rgb(127, 20, 116);
/* oklch */ color: oklch(42.0% 0.173 333.1);
Tailwind
colors: {
  custom: {
    50: '#a8619c',
    500: '#7f1474',
    950: '#000000',
  },
}
SCSS
$custom: #7f1474;
$custom-light: #a8619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1474",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 306.168,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42039,
    "c": 0.17253,
    "h": 333.1
  },
  "luminance": 0.06273
}

Semantic roles & 50–950 ramp

primary
#7F1474
secondary
#3BB447
accent
#EF4B38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1474

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

Preview Lab → · Contrast checker → · Palette generator →

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