#7C1B6F#7C1B6F

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

Color values

HEX#7C1B6F
RGBrgb(124, 27, 111)
HSLhsl(308, 64%, 30%)
HSVhsv(308, 78%, 49%)
CMYKcmyk(0%, 78.2%, 10.5%, 51.4%)
CIE-LABlab(29.96, 49.74, -25.48)
CIE-LCHlch(29.96, 55.89, 332.88°)
OKLaboklab(41.75% 0.1446 -0.0698)
OKLCHoklch(41.75% 0.161 334.2)
XYZxyz(11.5735, 6.2177, 15.6264)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B6F #1B7C28
analogous
#591B7C #7C1B6F #7C1B3F
triadic
#7C1B6F #6F7C1B #1B6F7C
tetradic
#7C1B6F #7C591B #1B7C28 #1B3F7C
square
#7C1B6F #7C591B #1B7C28 #1B3F7C
split-complementary
#7C1B6F #3F7C1B #1B7C59
monochromatic
#190516 #4A1042 #7C1B6F #AE269C #D53DC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1B6F#FFFFFF#000000##FFFFFF
##7C1B6F1.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)
#193E71
Deuteranopia (green-blind)
#3D4C6D
Tritanopia (blue-blind)
#822443
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1b6f;
/* rgb */ color: rgb(124, 27, 111);
/* oklch */ color: oklch(41.7% 0.161 334.2);
Tailwind
colors: {
  custom: {
    50: '#a56398',
    500: '#7c1b6f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b6f;
$custom-light: #a56398;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b6f",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 308.041,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41745,
    "c": 0.16054,
    "h": 334.2
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#7C1B6F
secondary
#43B051
accent
#E75741
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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