#7F1074#7F1074

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

Color values

HEX#7F1074
RGBrgb(127, 16, 116)
HSLhsl(306, 78%, 28%)
HSVhsv(306, 87%, 50%)
CMYKcmyk(0%, 87.4%, 8.7%, 50.2%)
CIE-LABlab(29.77, 54.16, -28.92)
CIE-LCHlch(29.77, 61.39, 331.90°)
OKLaboklab(41.81% 0.1566 -0.0796)
OKLCHoklch(41.81% 0.176 333.1)
XYZxyz(12.0902, 6.1446, 17.0689)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1074 #107F1B
analogous
#52107F #7F1074 #7F103C
triadic
#7F1074 #747F10 #10747F
tetradic
#7F1074 #7F5210 #107F1B #103C7F
square
#7F1074 #7F5210 #107F1B #103C7F
split-complementary
#7F1074 #3C7F10 #107F52
monochromatic
#1B0319 #490942 #7F1074 #B517A6 #E426D1

Accessibility & contrast

On white

9.42
#7F1074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F1074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1074
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1074#FFFFFF#000000##FFFFFF
##7F10741.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073C76
Deuteranopia (green-blind)
#3A4B72
Tritanopia (blue-blind)
#851F44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1074;
/* rgb */ color: rgb(127, 16, 116);
/* oklch */ color: oklch(41.8% 0.176 333.1);
Tailwind
colors: {
  custom: {
    50: '#a8609c',
    500: '#7f1074',
    950: '#000000',
  },
}
SCSS
$custom: #7f1074;
$custom-light: #a8609c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1074",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 305.946,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.17562,
    "h": 333.1
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#7F1074
secondary
#36B542
accent
#F44734
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1074

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

Preview Lab → · Contrast checker → · Palette generator →

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