#7C1673#7C1673

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

Color values

HEX#7C1673
RGBrgb(124, 22, 115)
HSLhsl(305, 70%, 29%)
HSVhsv(305, 82%, 49%)
CMYKcmyk(0%, 82.3%, 7.3%, 51.4%)
CIE-LABlab(29.66, 51.88, -28.50)
CIE-LCHlch(29.66, 59.19, 331.22°)
OKLaboklab(41.6% 0.1491 -0.0785)
OKLCHoklch(41.6% 0.169 332.2)
XYZxyz(11.6936, 6.0977, 16.7774)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1673 #167C1F
analogous
#52167C #7C1673 #7C1640
triadic
#7C1673 #737C16 #16737C
tetradic
#7C1673 #7C5216 #167C1F #16407C
square
#7C1673 #7C5216 #167C1F #16407C
split-complementary
#7C1673 #407C16 #167C52
monochromatic
#1A0518 #480D43 #7C1673 #B01FA3 #DB32CC

Accessibility & contrast

On white

9.46
#7C1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7C1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1673
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1673#FFFFFF#000000##FFFFFF
##7C16731.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#822344
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1673;
/* rgb */ color: rgb(124, 22, 115);
/* oklch */ color: oklch(41.6% 0.169 332.2);
Tailwind
colors: {
  custom: {
    50: '#a5619b',
    500: '#7c1673',
    950: '#000000',
  },
}
SCSS
$custom: #7c1673;
$custom-light: #a5619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1673",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 305.294,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41604,
    "c": 0.16853,
    "h": 332.2
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#7C1673
secondary
#3DB147
accent
#ED4B3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1673

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

Preview Lab → · Contrast checker → · Palette generator →

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