#7A136E#7A136E

#7A136E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.166 H 333.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7A136E
RGBrgb(122, 19, 110)
HSLhsl(307, 73%, 28%)
HSVhsv(307, 84%, 48%)
CMYKcmyk(0%, 84.4%, 9.8%, 52.2%)
CIE-LABlab(28.72, 51.44, -26.81)
CIE-LCHlch(28.72, 58.01, 332.47°)
OKLaboklab(40.77% 0.1493 -0.0736)
OKLCHoklch(40.77% 0.166 333.8)
XYZxyz(11.0735, 5.7301, 15.2716)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A136E #137A1F
analogous
#52137A #7A136E #7A133B
triadic
#7A136E #6E7A13 #136E7A
tetradic
#7A136E #7A5213 #137A1F #133B7A
square
#7A136E #7A5213 #137A1F #133B7A
split-complementary
#7A136E #3B7A13 #137A52
monochromatic
#1A0418 #450B3E #7A136E #AF1B9E #DE2AC9

Accessibility & contrast

On white

9.79
#7A136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A136E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A136E#FFFFFF#000000##FFFFFF
##7A136E1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3A70
Deuteranopia (green-blind)
#39496C
Tritanopia (blue-blind)
#801F41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a136e;
/* rgb */ color: rgb(122, 19, 110);
/* oklch */ color: oklch(40.8% 0.166 333.8);
Tailwind
colors: {
  custom: {
    50: '#a46098',
    500: '#7a136e',
    950: '#000000',
  },
}
SCSS
$custom: #7a136e;
$custom-light: #a46098;
$custom-dark: #000000;
JSON
{
  "hex": "#7a136e",
  "rgb": {
    "r": 122,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 306.99,
    "s": 73.05,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.16643,
    "h": 333.8
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#7A136E
secondary
#39B047
accent
#F04D38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7A136E

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

Preview Lab → · Contrast checker → · Palette generator →

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