#7F1673#7F1673

#7F1673 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.170 H 333.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7F1673
RGBrgb(127, 22, 115)
HSLhsl(307, 70%, 29%)
HSVhsv(307, 83%, 50%)
CMYKcmyk(0%, 82.7%, 9.4%, 50.2%)
CIE-LABlab(30.22, 52.55, -27.58)
CIE-LCHlch(30.22, 59.35, 332.31°)
OKLaboklab(42.11% 0.1523 -0.0757)
OKLCHoklch(42.11% 0.17 333.6)
XYZxyz(12.1339, 6.3247, 16.7981)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1673 #167F22
analogous
#57167F #7F1673 #7F163F
triadic
#7F1673 #737F16 #16737F
tetradic
#7F1673 #7F5716 #167F22 #163F7F
square
#7F1673 #7F5716 #167F22 #163F7F
split-complementary
#7F1673 #3F7F16 #167F57
monochromatic
#1A0518 #4B0D44 #7F1673 #B31FA2 #DC34C9

Accessibility & contrast

On white

9.27
#7F1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1673
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1673#FFFFFF#000000##FFFFFF
##7F16731.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E75
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#852244
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1673;
/* rgb */ color: rgb(127, 22, 115);
/* oklch */ color: oklch(42.1% 0.170 333.6);
Tailwind
colors: {
  custom: {
    50: '#a8629b',
    500: '#7f1673',
    950: '#000000',
  },
}
SCSS
$custom: #7f1673;
$custom-light: #a8629b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1673",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 306.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42109,
    "c": 0.17008,
    "h": 333.6
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#7F1673
secondary
#3DB44B
accent
#ED4F3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1673

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

Preview Lab → · Contrast checker → · Palette generator →

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