#7F1373#7F1373

#7F1373 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.173 H 333.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7F1373
RGBrgb(127, 19, 115)
HSLhsl(307, 74%, 29%)
HSVhsv(307, 85%, 50%)
CMYKcmyk(0%, 85%, 9.4%, 50.2%)
CIE-LABlab(29.95, 53.32, -28.00)
CIE-LCHlch(29.95, 60.22, 332.29°)
OKLaboklab(41.92% 0.1545 -0.0769)
OKLCHoklch(41.92% 0.173 333.5)
XYZxyz(12.0799, 6.2167, 16.7801)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1373 #137F1F
analogous
#55137F #7F1373 #7F133D
triadic
#7F1373 #737F13 #13737F
tetradic
#7F1373 #7F5513 #137F1F #133D7F
square
#7F1373 #7F5513 #137F1F #133D7F
split-complementary
#7F1373 #3D7F13 #137F55
monochromatic
#1B0418 #4A0B43 #7F1373 #B41BA3 #E02DCC

Accessibility & contrast

On white

9.36
#7F1373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1373
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1373#FFFFFF#000000##FFFFFF
##7F13731.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D75
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#852044
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1373;
/* rgb */ color: rgb(127, 19, 115);
/* oklch */ color: oklch(41.9% 0.173 333.5);
Tailwind
colors: {
  custom: {
    50: '#a8619b',
    500: '#7f1373',
    950: '#000000',
  },
}
SCSS
$custom: #7f1373;
$custom-light: #a8619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1373",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 306.667,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4192,
    "c": 0.17263,
    "h": 333.5
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#7F1373
secondary
#39B447
accent
#F14C37
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1373

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

Preview Lab → · Contrast checker → · Palette generator →

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