#7C136F#7C136F

#7C136F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.168 H 334.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7C136F
RGBrgb(124, 19, 111)
HSLhsl(307, 73%, 28%)
HSVhsv(307, 85%, 49%)
CMYKcmyk(0%, 84.7%, 10.5%, 51.4%)
CIE-LABlab(29.16, 52.04, -26.74)
CIE-LCHlch(29.16, 58.50, 332.81°)
OKLaboklab(41.17% 0.1514 -0.0733)
OKLCHoklch(41.17% 0.168 334.1)
XYZxyz(11.4144, 5.8996, 15.5734)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C136F #137C20
analogous
#55137C #7C136F #7C133A
triadic
#7C136F #6F7C13 #136F7C
tetradic
#7C136F #7C5513 #137C20 #133A7C
square
#7C136F #7C5513 #137C20 #133A7C
split-complementary
#7C136F #3A7C13 #137C55
monochromatic
#1B0418 #470B3F #7C136F #B11B9F #DF2BC8

Accessibility & contrast

On white

9.63
#7C136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7C136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C136F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C136F#FFFFFF#000000##FFFFFF
##7C136F1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#821F42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c136f;
/* rgb */ color: rgb(124, 19, 111);
/* oklch */ color: oklch(41.2% 0.168 334.1);
Tailwind
colors: {
  custom: {
    50: '#a66098',
    500: '#7c136f',
    950: '#000000',
  },
}
SCSS
$custom: #7c136f;
$custom-light: #a66098;
$custom-dark: #000000;
JSON
{
  "hex": "#7c136f",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 307.429,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41174,
    "c": 0.1682,
    "h": 334.1
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#7C136F
secondary
#39B248
accent
#F04F38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7C136F

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

Preview Lab → · Contrast checker → · Palette generator →

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