#7C1973#7C1973

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

Color values

HEX#7C1973
RGBrgb(124, 25, 115)
HSLhsl(305, 66%, 29%)
HSVhsv(305, 80%, 49%)
CMYKcmyk(0%, 79.8%, 7.3%, 51.4%)
CIE-LABlab(29.96, 51.01, -28.03)
CIE-LCHlch(29.96, 58.20, 331.22°)
OKLaboklab(41.82% 0.1466 -0.0771)
OKLCHoklch(41.82% 0.166 332.3)
XYZxyz(11.7544, 6.2191, 16.7977)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1973 #197C22
analogous
#54197C #7C1973 #7C1941
triadic
#7C1973 #737C19 #19737C
tetradic
#7C1973 #7C5419 #197C22 #19417C
square
#7C1973 #7C5419 #197C22 #19417C
split-complementary
#7C1973 #417C19 #197C54
monochromatic
#190518 #490F44 #7C1973 #AF23A2 #D738C9

Accessibility & contrast

On white

9.36
#7C1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1973
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1973#FFFFFF#000000##FFFFFF
##7C19731.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E75
Deuteranopia (green-blind)
#3B4B71
Tritanopia (blue-blind)
#822545
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1973;
/* rgb */ color: rgb(124, 25, 115);
/* oklch */ color: oklch(41.8% 0.166 332.3);
Tailwind
colors: {
  custom: {
    50: '#a5629b',
    500: '#7c1973',
    950: '#000000',
  },
}
SCSS
$custom: #7c1973;
$custom-light: #a5629b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1973",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 305.455,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4182,
    "c": 0.16566,
    "h": 332.3
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#7C1973
secondary
#40B04B
accent
#E94E3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1973

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

Preview Lab → · Contrast checker → · Palette generator →

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