#7F136E#7F136E

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

Color values

HEX#7F136E
RGBrgb(127, 19, 110)
HSLhsl(309, 74%, 29%)
HSVhsv(309, 85%, 50%)
CMYKcmyk(0%, 85%, 13.4%, 50.2%)
CIE-LABlab(29.68, 52.56, -25.24)
CIE-LCHlch(29.68, 58.30, 334.35°)
OKLaboklab(41.63% 0.1543 -0.069)
OKLCHoklch(41.63% 0.169 335.9)
XYZxyz(11.7999, 6.1047, 15.3057)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F136E #137F24
analogous
#5A137F #7F136E #7F1338
triadic
#7F136E #6E7F13 #136E7F
tetradic
#7F136E #7F5A13 #137F24 #13387F
square
#7F136E #7F5A13 #137F24 #13387F
split-complementary
#7F136E #387F13 #137F5A
monochromatic
#1B0417 #4A0B40 #7F136E #B41B9C #E02DC3

Accessibility & contrast

On white

9.46
#7F136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F136E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F136E#FFFFFF#000000##FFFFFF
##7F136E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C70
Deuteranopia (green-blind)
#3E4B6C
Tritanopia (blue-blind)
#861D41
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f136e;
/* rgb */ color: rgb(127, 19, 110);
/* oklch */ color: oklch(41.6% 0.169 335.9);
Tailwind
colors: {
  custom: {
    50: '#a86198',
    500: '#7f136e',
    950: '#000000',
  },
}
SCSS
$custom: #7f136e;
$custom-light: #a86198;
$custom-dark: #000000;
JSON
{
  "hex": "#7f136e",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 309.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41632,
    "c": 0.16906,
    "h": 335.9
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#7F136E
secondary
#39B44D
accent
#F15437
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F136E

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

Preview Lab → · Contrast checker → · Palette generator →

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