#7F1073#7F1073

#7F1073 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.175 H 333.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7F1073
RGBrgb(127, 16, 115)
HSLhsl(306, 78%, 28%)
HSVhsv(306, 87%, 50%)
CMYKcmyk(0%, 87.4%, 9.4%, 50.2%)
CIE-LABlab(29.72, 54.00, -28.37)
CIE-LCHlch(29.72, 61.00, 332.28°)
OKLaboklab(41.75% 0.1566 -0.078)
OKLCHoklch(41.75% 0.175 333.5)
XYZxyz(12.0323, 6.1215, 16.7642)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1073 #107F1C
analogous
#53107F #7F1073 #7F103C
triadic
#7F1073 #737F10 #10737F
tetradic
#7F1073 #7F5310 #107F1C #103C7F
square
#7F1073 #7F5310 #107F1C #103C7F
split-complementary
#7F1073 #3C7F10 #107F53
monochromatic
#1B0319 #490942 #7F1073 #B517A4 #E426CF

Accessibility & contrast

On white

9.44
#7F1073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F1073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1073
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1073#FFFFFF#000000##FFFFFF
##7F10731.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C75
Deuteranopia (green-blind)
#3B4B71
Tritanopia (blue-blind)
#851F43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1073;
/* rgb */ color: rgb(127, 16, 115);
/* oklch */ color: oklch(41.8% 0.175 333.5);
Tailwind
colors: {
  custom: {
    50: '#a8609b',
    500: '#7f1073',
    950: '#000000',
  },
}
SCSS
$custom: #7f1073;
$custom-light: #a8609b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1073",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 306.486,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41752,
    "c": 0.1749,
    "h": 333.5
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#7F1073
secondary
#36B543
accent
#F44834
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1073

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

Preview Lab → · Contrast checker → · Palette generator →

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