#7F2A73#7F2A73

#7F2A73 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.147 H 333.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7F2A73
RGBrgb(127, 42, 115)
HSLhsl(308, 50%, 33%)
HSVhsv(308, 67%, 50%)
CMYKcmyk(0%, 66.9%, 9.4%, 50.2%)
CIE-LABlab(32.72, 45.47, -23.66)
CIE-LCHlch(32.72, 51.25, 332.51°)
OKLaboklab(43.91% 0.1315 -0.0646)
OKLCHoklch(43.91% 0.147 333.8)
XYZxyz(12.6749, 7.4068, 16.9784)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A73 #2A7F36
analogous
#602A7F #7F2A73 #7F2A48
triadic
#7F2A73 #737F2A #2A737F
tetradic
#7F2A73 #7F602A #2A7F36 #2A487F
square
#7F2A73 #7F602A #2A7F36 #2A487F
split-complementary
#7F2A73 #487F2A #2A7F60
monochromatic
#230C20 #511B49 #7F2A73 #AD399D #C95BB9

Accessibility & contrast

On white

8.46
#7F2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7F2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A73
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A73#FFFFFF#000000##FFFFFF
##7F2A731.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284575
Deuteranopia (green-blind)
#455171
Tritanopia (blue-blind)
#85314A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2a73;
/* rgb */ color: rgb(127, 42, 115);
/* oklch */ color: oklch(43.9% 0.147 333.8);
Tailwind
colors: {
  custom: {
    50: '#a76a9b',
    500: '#7f2a73',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a73;
$custom-light: #a76a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a73",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 308.471,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4391,
    "c": 0.14653,
    "h": 333.8
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#7F2A73
secondary
#57AE63
accent
#DA624E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7F2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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