#7F2976#7F2976

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

Color values

HEX#7F2976
RGBrgb(127, 41, 118)
HSLhsl(306, 51%, 33%)
HSVhsv(306, 68%, 50%)
CMYKcmyk(0%, 67.7%, 7.1%, 50.2%)
CIE-LABlab(32.72, 46.41, -25.55)
CIE-LCHlch(32.72, 52.98, 331.16°)
OKLaboklab(43.96% 0.1331 -0.07)
OKLCHoklch(43.96% 0.15 332.2)
XYZxyz(12.8154, 7.4069, 17.8907)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2976 #297F32
analogous
#5D297F #7F2976 #7F294B
triadic
#7F2976 #767F29 #29767F
tetradic
#7F2976 #7F5D29 #297F32 #294B7F
square
#7F2976 #7F5D29 #297F32 #294B7F
split-complementary
#7F2976 #4B7F29 #297F5D
monochromatic
#220B20 #511A4B #7F2976 #AD38A1 #C959BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2976#FFFFFF#000000##FFFFFF
##7F29761.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)
#254578
Deuteranopia (green-blind)
#435174
Tritanopia (blue-blind)
#84314C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2976;
/* rgb */ color: rgb(127, 41, 118);
/* oklch */ color: oklch(44.0% 0.150 332.2);
Tailwind
colors: {
  custom: {
    50: '#a76a9e',
    500: '#7f2976',
    950: '#000000',
  },
}
SCSS
$custom: #7f2976;
$custom-light: #a76a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2976",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 306.279,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43961,
    "c": 0.1504,
    "h": 332.2
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#7F2976
secondary
#55AF5E
accent
#DB5C4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7F2976

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

Preview Lab → · Contrast checker → · Palette generator →

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