#7C137A#7C137A

#7C137A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.176 H 329.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7C137A
RGBrgb(124, 19, 122)
HSLhsl(301, 73%, 28%)
HSVhsv(301, 85%, 49%)
CMYKcmyk(0%, 84.7%, 1.6%, 51.4%)
CIE-LABlab(29.80, 53.80, -32.71)
CIE-LCHlch(29.80, 62.97, 328.70°)
OKLaboklab(41.84% 0.1513 -0.0907)
OKLCHoklch(41.84% 0.176 329.1)
XYZxyz(12.0578, 6.1569, 18.9619)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C137A #137C15
analogous
#49137C #7C137A #7C1345
triadic
#7C137A #7A7C13 #137A7C
tetradic
#7C137A #7C4913 #137C15 #13457C
square
#7C137A #7C4913 #137C15 #13457C
split-complementary
#7C137A #457C13 #137C49
monochromatic
#1B041A #470B46 #7C137A #B11BAE #DF2BDB

Accessibility & contrast

On white

9.41
#7C137A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C137A
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C137A#FFFFFF#000000##FFFFFF
##7C137A1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#812648
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c137a;
/* rgb */ color: rgb(124, 19, 122);
/* oklch */ color: oklch(41.8% 0.176 329.1);
Tailwind
colors: {
  custom: {
    50: '#a661a1',
    500: '#7c137a',
    950: '#000000',
  },
}
SCSS
$custom: #7c137a;
$custom-light: #a661a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c137a",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 122
  },
  "hsl": {
    "h": 301.143,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.17637,
    "h": 329.1
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#7C137A
secondary
#39B23B
accent
#F03B38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7C137A

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

Preview Lab → · Contrast checker → · Palette generator →

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