#7A136F#7A136F

#7A136F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.167 H 333.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7A136F
RGBrgb(122, 19, 111)
HSLhsl(306, 73%, 28%)
HSVhsv(306, 84%, 48%)
CMYKcmyk(0%, 84.4%, 9%, 52.2%)
CIE-LABlab(28.78, 51.60, -27.36)
CIE-LCHlch(28.78, 58.40, 332.06°)
OKLaboklab(40.83% 0.1493 -0.0752)
OKLCHoklch(40.83% 0.167 333.3)
XYZxyz(11.1282, 5.7520, 15.5600)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A136F #137A1E
analogous
#52137A #7A136F #7A133B
triadic
#7A136F #6F7A13 #136F7A
tetradic
#7A136F #7A5213 #137A1E #133B7A
square
#7A136F #7A5213 #137A1E #133B7A
split-complementary
#7A136F #3B7A13 #137A52
monochromatic
#1A0418 #450B3F #7A136F #AF1B9F #DE2ACB

Accessibility & contrast

On white

9.77
#7A136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7A136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A136F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A136F#FFFFFF#000000##FFFFFF
##7A136F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B71
Deuteranopia (green-blind)
#39496D
Tritanopia (blue-blind)
#802042
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a136f;
/* rgb */ color: rgb(122, 19, 111);
/* oklch */ color: oklch(40.8% 0.167 333.3);
Tailwind
colors: {
  custom: {
    50: '#a46098',
    500: '#7a136f',
    950: '#000000',
  },
}
SCSS
$custom: #7a136f;
$custom-light: #a46098;
$custom-dark: #000000;
JSON
{
  "hex": "#7a136f",
  "rgb": {
    "r": 122,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 306.408,
    "s": 73.05,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40833,
    "c": 0.16716,
    "h": 333.3
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#7A136F
secondary
#39B046
accent
#F04C38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7A136F

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

Preview Lab → · Contrast checker → · Palette generator →

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