#7C137F#7C137F

#7C137F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.180 H 326.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7C137F
RGBrgb(124, 19, 127)
HSLhsl(298, 74%, 29%)
HSVhsv(298, 85%, 50%)
CMYKcmyk(2.4%, 85%, 0%, 50.2%)
CIE-LABlab(30.12, 54.64, -35.37)
CIE-LCHlch(30.12, 65.09, 327.08°)
OKLaboklab(42.17% 0.151 -0.0984)
OKLCHoklch(42.17% 0.18 326.9)
XYZxyz(12.3756, 6.2840, 20.6357)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C137F #167F13
analogous
#46137F #7C137F #7F134C
triadic
#7C137F #7F7C13 #137F7C
tetradic
#7C137F #7F4613 #167F13 #134C7F
square
#7C137F #7F4613 #167F13 #134C7F
split-complementary
#7C137F #4C7F13 #137F46
monochromatic
#1A041B #480B4A #7C137F #B01BB4 #DB2DE0

Accessibility & contrast

On white

9.31
#7C137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7C137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C137F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C137F#FFFFFF#000000##FFFFFF
##7C137F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#80284B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c137f;
/* rgb */ color: rgb(124, 19, 127);
/* oklch */ color: oklch(42.2% 0.180 326.9);
Tailwind
colors: {
  custom: {
    50: '#a661a5',
    500: '#7c137f',
    950: '#000000',
  },
}
SCSS
$custom: #7c137f;
$custom-light: #a661a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c137f",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 298.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42166,
    "c": 0.18021,
    "h": 326.9
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#7C137F
secondary
#3DB439
accent
#F1373C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C137F

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

Preview Lab → · Contrast checker → · Palette generator →

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