#7A136C#7A136C

#7A136C is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.165 H 334.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7A136C
RGBrgb(122, 19, 108)
HSLhsl(308, 73%, 28%)
HSVhsv(308, 84%, 48%)
CMYKcmyk(0%, 84.4%, 11.5%, 52.2%)
CIE-LABlab(28.61, 51.13, -25.70)
CIE-LCHlch(28.61, 57.23, 333.31°)
OKLaboklab(40.66% 0.1492 -0.0704)
OKLCHoklch(40.66% 0.165 334.7)
XYZxyz(10.9658, 5.6870, 14.7046)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A136C #137A21
analogous
#54137A #7A136C #7A1339
triadic
#7A136C #6C7A13 #136C7A
tetradic
#7A136C #7A5413 #137A21 #13397A
square
#7A136C #7A5413 #137A21 #13397A
split-complementary
#7A136C #397A13 #137A54
monochromatic
#1A0417 #450B3D #7A136C #AF1B9B #DE2AC5

Accessibility & contrast

On white

9.83
#7A136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A136C
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A136C#FFFFFF#000000##FFFFFF
##7A136C1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113A6E
Deuteranopia (green-blind)
#3A496A
Tritanopia (blue-blind)
#801E40
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a136c;
/* rgb */ color: rgb(122, 19, 108);
/* oklch */ color: oklch(40.7% 0.165 334.7);
Tailwind
colors: {
  custom: {
    50: '#a46096',
    500: '#7a136c',
    950: '#000000',
  },
}
SCSS
$custom: #7a136c;
$custom-light: #a46096;
$custom-dark: #000000;
JSON
{
  "hex": "#7a136c",
  "rgb": {
    "r": 122,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 308.155,
    "s": 73.05,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40657,
    "c": 0.16498,
    "h": 334.7
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#7A136C
secondary
#39B049
accent
#F05138
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7A136C

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

Preview Lab → · Contrast checker → · Palette generator →

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