#7F0F71#7F0F71

#7F0F71 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.174 H 334.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7F0F71
RGBrgb(127, 15, 113)
HSLhsl(308, 79%, 28%)
HSVhsv(308, 88%, 50%)
CMYKcmyk(0%, 88.2%, 11%, 50.2%)
CIE-LABlab(29.53, 53.91, -27.39)
CIE-LCHlch(29.53, 60.47, 333.07°)
OKLaboklab(41.58% 0.1571 -0.0751)
OKLCHoklch(41.58% 0.174 334.4)
XYZxyz(11.9040, 6.0470, 16.1598)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F0F71 #0F7F1D
analogous
#550F7F #7F0F71 #7F0F39
triadic
#7F0F71 #717F0F #0F717F
tetradic
#7F0F71 #7F550F #0F7F1D #0F397F
square
#7F0F71 #7F550F #0F7F1D #0F397F
split-complementary
#7F0F71 #397F0F #0F7F55
monochromatic
#1B0318 #480940 #7F0F71 #B615A2 #E523CD

Accessibility & contrast

On white

9.51
#7F0F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F0F71
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F0F71#FFFFFF#000000##FFFFFF
##7F0F711.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3B73
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#861D42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f0f71;
/* rgb */ color: rgb(127, 15, 113);
/* oklch */ color: oklch(41.6% 0.174 334.4);
Tailwind
colors: {
  custom: {
    50: '#a8609a',
    500: '#7f0f71',
    950: '#000000',
  },
}
SCSS
$custom: #7f0f71;
$custom-light: #a8609a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f0f71",
  "rgb": {
    "r": 127,
    "g": 15,
    "b": 113
  },
  "hsl": {
    "h": 307.5,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41583,
    "c": 0.17419,
    "h": 334.4
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#7F0F71
secondary
#34B544
accent
#F54B32
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7F0F71

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

Preview Lab → · Contrast checker → · Palette generator →

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