#7C1970#7C1970

#7C1970 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.163 H 333.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7C1970
RGBrgb(124, 25, 112)
HSLhsl(307, 66%, 29%)
HSVhsv(307, 80%, 49%)
CMYKcmyk(0%, 79.8%, 9.7%, 51.4%)
CIE-LABlab(29.79, 50.53, -26.38)
CIE-LCHlch(29.79, 57.00, 332.43°)
OKLaboklab(41.65% 0.1465 -0.0724)
OKLCHoklch(41.65% 0.163 333.7)
XYZxyz(11.5845, 6.1512, 15.9033)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1970 #197C25
analogous
#57197C #7C1970 #7C193F
triadic
#7C1970 #707C19 #19707C
tetradic
#7C1970 #7C5719 #197C25 #193F7C
square
#7C1970 #7C5719 #197C25 #193F7C
split-complementary
#7C1970 #3F7C19 #197C57
monochromatic
#190517 #490F42 #7C1970 #AF239E #D738C4

Accessibility & contrast

On white

9.42
#7C1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7C1970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1970
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1970#FFFFFF#000000##FFFFFF
##7C19701.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D72
Deuteranopia (green-blind)
#3C4B6E
Tritanopia (blue-blind)
#822343
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1970;
/* rgb */ color: rgb(124, 25, 112);
/* oklch */ color: oklch(41.6% 0.163 333.7);
Tailwind
colors: {
  custom: {
    50: '#a56299',
    500: '#7c1970',
    950: '#000000',
  },
}
SCSS
$custom: #7c1970;
$custom-light: #a56299;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1970",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 307.273,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41645,
    "c": 0.16339,
    "h": 333.7
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#7C1970
secondary
#40B04E
accent
#E9533E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1970

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

Preview Lab → · Contrast checker → · Palette generator →

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