#7C1877#7C1877

#7C1877 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.170 H 330.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7C1877
RGBrgb(124, 24, 119)
HSLhsl(303, 68%, 29%)
HSVhsv(303, 81%, 49%)
CMYKcmyk(0%, 80.6%, 4%, 51.4%)
CIE-LABlab(30.09, 51.96, -30.37)
CIE-LCHlch(30.09, 60.19, 329.70°)
OKLaboklab(41.99% 0.1475 -0.0839)
OKLCHoklch(41.99% 0.17 330.4)
XYZxyz(11.9685, 6.2712, 18.0293)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1877 #187C1D
analogous
#4F187C #7C1877 #7C1845
triadic
#7C1877 #777C18 #18777C
tetradic
#7C1877 #7C4F18 #187C1D #18457C
square
#7C1877 #7C4F18 #187C1D #18457C
split-complementary
#7C1877 #457C18 #187C4F
monochromatic
#1A0519 #490E46 #7C1877 #AF22A8 #D836D0

Accessibility & contrast

On white

9.32
#7C1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7C1877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1877
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1877#FFFFFF#000000##FFFFFF
##7C18771.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083E79
Deuteranopia (green-blind)
#384C75
Tritanopia (blue-blind)
#812747
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1877;
/* rgb */ color: rgb(124, 24, 119);
/* oklch */ color: oklch(42.0% 0.170 330.4);
Tailwind
colors: {
  custom: {
    50: '#a5629e',
    500: '#7c1877',
    950: '#000000',
  },
}
SCSS
$custom: #7c1877;
$custom-light: #a5629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1877",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 303,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41986,
    "c": 0.1697,
    "h": 330.4
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#7C1877
secondary
#3FB145
accent
#EA463D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1877

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

Preview Lab → · Contrast checker → · Palette generator →

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