#7C136D#7C136D

#7C136D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.167 H 335.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7C136D
RGBrgb(124, 19, 109)
HSLhsl(309, 73%, 28%)
HSVhsv(309, 85%, 49%)
CMYKcmyk(0%, 84.7%, 12.1%, 51.4%)
CIE-LABlab(29.05, 51.73, -25.63)
CIE-LCHlch(29.05, 57.73, 333.65°)
OKLaboklab(41.06% 0.1513 -0.0702)
OKLCHoklch(41.06% 0.167 335.1)
XYZxyz(11.3055, 5.8560, 14.9999)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C136D #137C22
analogous
#56137C #7C136D #7C1339
triadic
#7C136D #6D7C13 #136D7C
tetradic
#7C136D #7C5613 #137C22 #13397C
square
#7C136D #7C5613 #137C22 #13397C
split-complementary
#7C136D #397C13 #137C56
monochromatic
#1B0417 #470B3E #7C136D #B11B9C #DF2BC5

Accessibility & contrast

On white

9.67
#7C136D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C136D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C136D
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C136D#FFFFFF#000000##FFFFFF
##7C136D1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B6F
Deuteranopia (green-blind)
#3C4A6B
Tritanopia (blue-blind)
#831E40
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c136d;
/* rgb */ color: rgb(124, 19, 109);
/* oklch */ color: oklch(41.1% 0.167 335.1);
Tailwind
colors: {
  custom: {
    50: '#a66097',
    500: '#7c136d',
    950: '#000000',
  },
}
SCSS
$custom: #7c136d;
$custom-light: #a66097;
$custom-dark: #000000;
JSON
{
  "hex": "#7c136d",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 109
  },
  "hsl": {
    "h": 308.571,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41059,
    "c": 0.16676,
    "h": 335.1
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#7C136D
secondary
#39B24A
accent
#F05238
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C136D

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

Preview Lab → · Contrast checker → · Palette generator →

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