#7F137C#7F137C

#7F137C is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.179 H 329.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7F137C
RGBrgb(127, 19, 124)
HSLhsl(302, 74%, 29%)
HSVhsv(302, 85%, 50%)
CMYKcmyk(0%, 85%, 2.4%, 50.2%)
CIE-LABlab(30.48, 54.75, -32.87)
CIE-LCHlch(30.48, 63.86, 329.02°)
OKLaboklab(42.47% 0.1544 -0.091)
OKLCHoklch(42.47% 0.179 329.5)
XYZxyz(12.6233, 6.4340, 19.6419)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F137C #137F16
analogous
#4C137F #7F137C #7F1346
triadic
#7F137C #7C7F13 #137C7F
tetradic
#7F137C #7F4C13 #137F16 #13467F
square
#7F137C #7F4C13 #137F16 #13467F
split-complementary
#7F137C #467F13 #137F4C
monochromatic
#1B041A #4A0B48 #7F137C #B41BB0 #E02DDB

Accessibility & contrast

On white

9.18
#7F137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F137C
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F137C#FFFFFF#000000##FFFFFF
##7F137C1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#842649
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f137c;
/* rgb */ color: rgb(127, 19, 124);
/* oklch */ color: oklch(42.5% 0.179 329.5);
Tailwind
colors: {
  custom: {
    50: '#a861a2',
    500: '#7f137c',
    950: '#000000',
  },
}
SCSS
$custom: #7f137c;
$custom-light: #a861a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f137c",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 301.667,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.17927,
    "h": 329.5
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#7F137C
secondary
#39B43D
accent
#F13C37
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F137C

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

Preview Lab → · Contrast checker → · Palette generator →

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