#7F2073#7F2073

#7F2073 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.160 H 333.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7F2073
RGBrgb(127, 32, 115)
HSLhsl(308, 60%, 31%)
HSVhsv(308, 75%, 50%)
CMYKcmyk(0%, 74.8%, 9.4%, 50.2%)
CIE-LABlab(31.31, 49.42, -25.86)
CIE-LCHlch(31.31, 55.78, 332.38°)
OKLaboklab(42.89% 0.1431 -0.0709)
OKLCHoklch(42.89% 0.16 333.7)
XYZxyz(12.3635, 6.7839, 16.8746)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2073 #207F2C
analogous
#5B207F #7F2073 #7F2043
triadic
#7F2073 #737F20 #20737F
tetradic
#7F2073 #7F5B20 #207F2C #20437F
square
#7F2073 #7F5B20 #207F2C #20437F
split-complementary
#7F2073 #437F20 #207F5B
monochromatic
#1D071A #4E1447 #7F2073 #B02C9F #D148C0

Accessibility & contrast

On white

8.91
#7F2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7F2073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2073
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2073#FFFFFF#000000##FFFFFF
##7F20731.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4175
Deuteranopia (green-blind)
#404F71
Tritanopia (blue-blind)
#852947
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2073;
/* rgb */ color: rgb(127, 32, 115);
/* oklch */ color: oklch(42.9% 0.160 333.7);
Tailwind
colors: {
  custom: {
    50: '#a7669b',
    500: '#7f2073',
    950: '#000000',
  },
}
SCSS
$custom: #7f2073;
$custom-light: #a7669b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2073",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 307.579,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42893,
    "c": 0.15967,
    "h": 333.7
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#7F2073
secondary
#49B256
accent
#E35945
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F2073

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

Preview Lab → · Contrast checker → · Palette generator →

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