#7F0F72#7F0F72

#7F0F72 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.175 H 334.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7F0F72
RGBrgb(127, 15, 114)
HSLhsl(307, 79%, 28%)
HSVhsv(307, 88%, 50%)
CMYKcmyk(0%, 88.2%, 10.2%, 50.2%)
CIE-LABlab(29.59, 54.06, -27.94)
CIE-LCHlch(29.59, 60.85, 332.67°)
OKLaboklab(41.64% 0.1572 -0.0767)
OKLCHoklch(41.64% 0.175 334)
XYZxyz(11.9606, 6.0697, 16.4580)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F0F72 #0F7F1C
analogous
#540F7F #7F0F72 #7F0F3A
triadic
#7F0F72 #727F0F #0F727F
tetradic
#7F0F72 #7F540F #0F7F1C #0F3A7F
square
#7F0F72 #7F540F #0F7F1C #0F3A7F
split-complementary
#7F0F72 #3A7F0F #0F7F54
monochromatic
#1B0319 #480941 #7F0F72 #B615A3 #E523CF

Accessibility & contrast

On white

9.49
#7F0F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F0F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F0F72
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F0F72#FFFFFF#000000##FFFFFF
##7F0F721.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C74
Deuteranopia (green-blind)
#3B4B70
Tritanopia (blue-blind)
#851E43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f0f72;
/* rgb */ color: rgb(127, 15, 114);
/* oklch */ color: oklch(41.6% 0.175 334.0);
Tailwind
colors: {
  custom: {
    50: '#a8609b',
    500: '#7f0f72',
    950: '#000000',
  },
}
SCSS
$custom: #7f0f72;
$custom-light: #a8609b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f0f72",
  "rgb": {
    "r": 127,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 306.964,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41642,
    "c": 0.17489,
    "h": 334
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#7F0F72
secondary
#34B543
accent
#F54932
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7F0F72

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

Preview Lab → · Contrast checker → · Palette generator →

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