#7C1372#7C1372

#7C1372 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.170 H 332.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7C1372
RGBrgb(124, 19, 114)
HSLhsl(306, 73%, 28%)
HSVhsv(306, 85%, 49%)
CMYKcmyk(0%, 84.7%, 8.1%, 51.4%)
CIE-LABlab(29.33, 52.51, -28.38)
CIE-LCHlch(29.33, 59.69, 331.60°)
OKLaboklab(41.35% 0.1514 -0.0781)
OKLCHoklch(41.35% 0.17 332.7)
XYZxyz(11.5824, 5.9668, 16.4580)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1372 #137C1D
analogous
#51137C #7C1372 #7C133D
triadic
#7C1372 #727C13 #13727C
tetradic
#7C1372 #7C5113 #137C1D #133D7C
square
#7C1372 #7C5113 #137C1D #133D7C
split-complementary
#7C1372 #3D7C13 #137C51
monochromatic
#1B0418 #470B41 #7C1372 #B11BA3 #DF2BCD

Accessibility & contrast

On white

9.58
#7C1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7C1372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1372
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1372#FFFFFF#000000##FFFFFF
##7C13721.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C74
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#822143
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1372;
/* rgb */ color: rgb(124, 19, 114);
/* oklch */ color: oklch(41.4% 0.170 332.7);
Tailwind
colors: {
  custom: {
    50: '#a6609b',
    500: '#7c1372',
    950: '#000000',
  },
}
SCSS
$custom: #7c1372;
$custom-light: #a6609b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1372",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 305.714,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41351,
    "c": 0.17038,
    "h": 332.7
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#7C1372
secondary
#39B245
accent
#F04938
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7C1372

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

Preview Lab → · Contrast checker → · Palette generator →

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