#7C1876#7C1876

#7C1876 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.169 H 330.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7C1876
RGBrgb(124, 24, 118)
HSLhsl(304, 68%, 29%)
HSVhsv(304, 81%, 49%)
CMYKcmyk(0%, 80.6%, 4.8%, 51.4%)
CIE-LABlab(30.03, 51.80, -29.82)
CIE-LCHlch(30.03, 59.77, 330.07°)
OKLaboklab(41.93% 0.1475 -0.0823)
OKLCHoklch(41.93% 0.169 330.8)
XYZxyz(11.9088, 6.2473, 17.7147)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1876 #187C1E
analogous
#50187C #7C1876 #7C1844
triadic
#7C1876 #767C18 #18767C
tetradic
#7C1876 #7C5018 #187C1E #18447C
square
#7C1876 #7C5018 #187C1E #18447C
split-complementary
#7C1876 #447C18 #187C50
monochromatic
#1A0518 #490E45 #7C1876 #AF22A7 #D836CE

Accessibility & contrast

On white

9.34
#7C1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1876
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1876#FFFFFF#000000##FFFFFF
##7C18761.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3E78
Deuteranopia (green-blind)
#394B74
Tritanopia (blue-blind)
#812647
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1876;
/* rgb */ color: rgb(124, 24, 118);
/* oklch */ color: oklch(41.9% 0.169 330.8);
Tailwind
colors: {
  custom: {
    50: '#a5629e',
    500: '#7c1876',
    950: '#000000',
  },
}
SCSS
$custom: #7c1876;
$custom-light: #a5629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1876",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 303.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41925,
    "c": 0.16893,
    "h": 330.8
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#7C1876
secondary
#3FB146
accent
#EA483D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1876

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

Preview Lab → · Contrast checker → · Palette generator →

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