#7C136B#7C136B

#7C136B is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.165 H 336.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7C136B
RGBrgb(124, 19, 107)
HSLhsl(310, 73%, 28%)
HSVhsv(310, 85%, 49%)
CMYKcmyk(0%, 84.7%, 13.7%, 51.4%)
CIE-LABlab(28.94, 51.43, -24.51)
CIE-LCHlch(28.94, 56.97, 334.52°)
OKLaboklab(40.95% 0.1512 -0.067)
OKLCHoklch(40.95% 0.165 336.1)
XYZxyz(11.1991, 5.8134, 14.4394)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C136B #137C24
analogous
#58137C #7C136B #7C1336
triadic
#7C136B #6B7C13 #136B7C
tetradic
#7C136B #7C5813 #137C24 #13367C
square
#7C136B #7C5813 #137C24 #13367C
split-complementary
#7C136B #367C13 #137C58
monochromatic
#1B0417 #470B3D #7C136B #B11B99 #DF2BC1

Accessibility & contrast

On white

9.71
#7C136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C136B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C136B
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C136B#FFFFFF#000000##FFFFFF
##7C136B1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6D
Deuteranopia (green-blind)
#3D4A69
Tritanopia (blue-blind)
#831D3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c136b;
/* rgb */ color: rgb(124, 19, 107);
/* oklch */ color: oklch(40.9% 0.165 336.1);
Tailwind
colors: {
  custom: {
    50: '#a66095',
    500: '#7c136b',
    950: '#000000',
  },
}
SCSS
$custom: #7c136b;
$custom-light: #a66095;
$custom-dark: #000000;
JSON
{
  "hex": "#7c136b",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 309.714,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.16534,
    "h": 336.1
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#7C136B
secondary
#39B24D
accent
#F05638
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C136B

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

Preview Lab → · Contrast checker → · Palette generator →

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