#7B136C#7B136C

#7B136C is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.166 H 335.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7B136C
RGBrgb(123, 19, 108)
HSLhsl(309, 73%, 28%)
HSVhsv(309, 85%, 48%)
CMYKcmyk(0%, 84.6%, 12.2%, 51.8%)
CIE-LABlab(28.80, 51.36, -25.39)
CIE-LCHlch(28.80, 57.29, 333.70°)
OKLaboklab(40.83% 0.1502 -0.0695)
OKLCHoklch(40.83% 0.166 335.2)
XYZxyz(11.1082, 5.7604, 14.7113)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B136C #137B22
analogous
#56137B #7B136C #7B1338
triadic
#7B136C #6C7B13 #136C7B
tetradic
#7B136C #7B5613 #137B22 #13387B
square
#7B136C #7B5613 #137B22 #13387B
split-complementary
#7B136C #387B13 #137B56
monochromatic
#1B0417 #460B3D #7B136C #B01B9B #DE2AC4

Accessibility & contrast

On white

9.76
#7B136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B136C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B136C#FFFFFF#000000##FFFFFF
##7B136C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6E
Deuteranopia (green-blind)
#3B496A
Tritanopia (blue-blind)
#811E40
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b136c;
/* rgb */ color: rgb(123, 19, 108);
/* oklch */ color: oklch(40.8% 0.166 335.2);
Tailwind
colors: {
  custom: {
    50: '#a56096',
    500: '#7b136c',
    950: '#000000',
  },
}
SCSS
$custom: #7b136c;
$custom-light: #a56096;
$custom-dark: #000000;
JSON
{
  "hex": "#7b136c",
  "rgb": {
    "r": 123,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 308.654,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.16551,
    "h": 335.2
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B136C

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

Preview Lab → · Contrast checker → · Palette generator →

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