#7C1972#7C1972

#7C1972 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.165 H 332.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7C1972
RGBrgb(124, 25, 114)
HSLhsl(306, 66%, 29%)
HSVhsv(306, 80%, 49%)
CMYKcmyk(0%, 79.8%, 8.1%, 51.4%)
CIE-LABlab(29.90, 50.85, -27.48)
CIE-LCHlch(29.90, 57.80, 331.61°)
OKLaboklab(41.76% 0.1466 -0.0755)
OKLCHoklch(41.76% 0.165 332.7)
XYZxyz(11.6971, 6.1963, 16.4963)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1972 #197C23
analogous
#55197C #7C1972 #7C1941
triadic
#7C1972 #727C19 #19727C
tetradic
#7C1972 #7C5519 #197C23 #19417C
square
#7C1972 #7C5519 #197C23 #19417C
split-complementary
#7C1972 #417C19 #197C55
monochromatic
#190517 #490F43 #7C1972 #AF23A1 #D738C7

Accessibility & contrast

On white

9.38
#7C1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7C1972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1972
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1972#FFFFFF#000000##FFFFFF
##7C19721.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E74
Deuteranopia (green-blind)
#3B4B70
Tritanopia (blue-blind)
#822545
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1972;
/* rgb */ color: rgb(124, 25, 114);
/* oklch */ color: oklch(41.8% 0.165 332.7);
Tailwind
colors: {
  custom: {
    50: '#a5629b',
    500: '#7c1972',
    950: '#000000',
  },
}
SCSS
$custom: #7c1972;
$custom-light: #a5629b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1972",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 306.061,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41761,
    "c": 0.16489,
    "h": 332.7
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#7C1972
secondary
#40B04C
accent
#E9503E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1972

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

Preview Lab → · Contrast checker → · Palette generator →

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