#7D137B#7D137B

#7D137B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.178 H 329.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7D137B
RGBrgb(125, 19, 123)
HSLhsl(301, 74%, 28%)
HSVhsv(301, 85%, 49%)
CMYKcmyk(0%, 84.8%, 1.6%, 51%)
CIE-LABlab(30.05, 54.17, -32.94)
CIE-LCHlch(30.05, 63.40, 328.70°)
OKLaboklab(42.07% 0.1523 -0.0913)
OKLCHoklch(42.07% 0.178 329.1)
XYZxyz(12.2654, 6.2567, 19.2967)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D137B #137D15
analogous
#4A137D #7D137B #7D1346
triadic
#7D137B #7B7D13 #137B7D
tetradic
#7D137B #7D4A13 #137D15 #13467D
square
#7D137B #7D4A13 #137D15 #13467D
split-complementary
#7D137B #467D13 #137D4A
monochromatic
#1B041A #480B47 #7D137B #B21BAF #DF2CDB

Accessibility & contrast

On white

9.33
#7D137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D137B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D137B
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D137B#FFFFFF#000000##FFFFFF
##7D137B1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#354B79
Tritanopia (blue-blind)
#822648
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d137b;
/* rgb */ color: rgb(125, 19, 123);
/* oklch */ color: oklch(42.1% 0.178 329.1);
Tailwind
colors: {
  custom: {
    50: '#a661a1',
    500: '#7d137b',
    950: '#000000',
  },
}
SCSS
$custom: #7d137b;
$custom-light: #a661a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d137b",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 301.132,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.17759,
    "h": 329.1
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#7D137B
secondary
#39B33B
accent
#F03B38
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D137B

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

Preview Lab → · Contrast checker → · Palette generator →

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