#7F136F#7F136F

#7F136F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.170 H 335.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7F136F
RGBrgb(127, 19, 111)
HSLhsl(309, 74%, 29%)
HSVhsv(309, 85%, 50%)
CMYKcmyk(0%, 85%, 12.6%, 50.2%)
CIE-LABlab(29.73, 52.71, -25.80)
CIE-LCHlch(29.73, 58.68, 333.92°)
OKLaboklab(41.69% 0.1544 -0.0706)
OKLCHoklch(41.69% 0.17 335.4)
XYZxyz(11.8547, 6.1266, 15.5941)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F136F #137F23
analogous
#59137F #7F136F #7F1339
triadic
#7F136F #6F7F13 #136F7F
tetradic
#7F136F #7F5913 #137F23 #13397F
square
#7F136F #7F5913 #137F23 #13397F
split-complementary
#7F136F #397F13 #137F59
monochromatic
#1B0417 #4A0B40 #7F136F #B41B9E #E02DC5

Accessibility & contrast

On white

9.44
#7F136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F136F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F136F#FFFFFF#000000##FFFFFF
##7F136F1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C71
Deuteranopia (green-blind)
#3D4C6D
Tritanopia (blue-blind)
#861E42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f136f;
/* rgb */ color: rgb(127, 19, 111);
/* oklch */ color: oklch(41.7% 0.170 335.4);
Tailwind
colors: {
  custom: {
    50: '#a86198',
    500: '#7f136f',
    950: '#000000',
  },
}
SCSS
$custom: #7f136f;
$custom-light: #a86198;
$custom-dark: #000000;
JSON
{
  "hex": "#7f136f",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 308.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41689,
    "c": 0.16977,
    "h": 335.4
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#7F136F
secondary
#39B44C
accent
#F15337
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F136F

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

Preview Lab → · Contrast checker → · Palette generator →

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