#7C1681#7C1681

#7C1681 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.179 H 326.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7C1681
RGBrgb(124, 22, 129)
HSLhsl(297, 71%, 30%)
HSVhsv(297, 83%, 51%)
CMYKcmyk(3.9%, 82.9%, 0%, 49.4%)
CIE-LABlab(30.51, 54.22, -36.00)
CIE-LCHlch(30.51, 65.08, 326.42°)
OKLaboklab(42.48% 0.1487 -0.1003)
OKLCHoklch(42.48% 0.179 326)
XYZxyz(12.5613, 6.4448, 21.3470)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1681 #1B8116
analogous
#461681 #7C1681 #811651
triadic
#7C1681 #817C16 #16817C
tetradic
#7C1681 #814616 #1B8116 #165181
square
#7C1681 #814616 #1B8116 #165181
split-complementary
#7C1681 #518116 #168146
monochromatic
#19041A #4A0D4D #7C1681 #AE1FB5 #D535DD

Accessibility & contrast

On white

9.18
#7C1681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7C1681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1681
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1681#FFFFFF#000000##FFFFFF
##7C16811.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#314C7F
Tritanopia (blue-blind)
#7F2B4C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c1681;
/* rgb */ color: rgb(124, 22, 129);
/* oklch */ color: oklch(42.5% 0.179 326.0);
Tailwind
colors: {
  custom: {
    50: '#a662a6',
    500: '#7c1681',
    950: '#000000',
  },
}
SCSS
$custom: #7c1681;
$custom-light: #a662a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1681",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 297.196,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.17933,
    "h": 326
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#7C1681
secondary
#43B63D
accent
#EE3A43
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1681

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

Preview Lab → · Contrast checker → · Palette generator →

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