#7B136B#7B136B

#7B136B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.165 H 335.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7B136B
RGBrgb(123, 19, 107)
HSLhsl(309, 73%, 28%)
HSVhsv(309, 85%, 48%)
CMYKcmyk(0%, 84.6%, 13%, 51.8%)
CIE-LABlab(28.75, 51.20, -24.83)
CIE-LCHlch(28.75, 56.91, 334.13°)
OKLaboklab(40.77% 0.1502 -0.0679)
OKLCHoklch(40.77% 0.165 335.7)
XYZxyz(11.0553, 5.7393, 14.4326)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B136B #137B23
analogous
#57137B #7B136B #7B1337
triadic
#7B136B #6B7B13 #136B7B
tetradic
#7B136B #7B5713 #137B23 #13377B
square
#7B136B #7B5713 #137B23 #13377B
split-complementary
#7B136B #377B13 #137B57
monochromatic
#1B0417 #460B3D #7B136B #B01B99 #DE2AC2

Accessibility & contrast

On white

9.78
#7B136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B136B
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B136B#FFFFFF#000000##FFFFFF
##7B136B1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6D
Deuteranopia (green-blind)
#3C4969
Tritanopia (blue-blind)
#821D3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b136b;
/* rgb */ color: rgb(123, 19, 107);
/* oklch */ color: oklch(40.8% 0.165 335.7);
Tailwind
colors: {
  custom: {
    50: '#a56095',
    500: '#7b136b',
    950: '#000000',
  },
}
SCSS
$custom: #7b136b;
$custom-light: #a56095;
$custom-dark: #000000;
JSON
{
  "hex": "#7b136b",
  "rgb": {
    "r": 123,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 309.231,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.16479,
    "h": 335.7
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#7B136B
secondary
#39B14B
accent
#F05438
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7B136B

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

Preview Lab → · Contrast checker → · Palette generator →

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