#7C1C97#7C1C97

#7C1C97 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.192 H 317.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7C1C97
RGBrgb(124, 28, 151)
HSLhsl(287, 69%, 35%)
HSVhsv(287, 81%, 59%)
CMYKcmyk(17.9%, 81.5%, 0%, 40.8%)
CIE-LABlab(32.59, 56.56, -46.27)
CIE-LCHlch(32.59, 73.08, 320.71°)
OKLaboklab(44.43% 0.1412 -0.1304)
OKLCHoklch(44.43% 0.192 317.3)
XYZxyz(14.3125, 7.3506, 29.9371)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C97 #37971C
analogous
#3E1C97 #7C1C97 #971C75
triadic
#7C1C97 #977C1C #1C977C
tetradic
#7C1C97 #973E1C #37971C #1C7597
square
#7C1C97 #973E1C #37971C #1C7597
split-complementary
#7C1C97 #75971C #1C973E
monochromatic
#270930 #521263 #7C1C97 #A626CB #BF4FDE

Accessibility & contrast

On white

8.50
#7C1C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7C1C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C97
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C97#FFFFFF#000000##FFFFFF
##7C1C971.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#1F4F94
Tritanopia (blue-blind)
#7B395A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c1c97;
/* rgb */ color: rgb(124, 28, 151);
/* oklch */ color: oklch(44.4% 0.192 317.3);
Tailwind
colors: {
  custom: {
    50: '#a665b6',
    500: '#7c1c97',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c97;
$custom-light: #a665b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c97",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 286.829,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44428,
    "c": 0.19222,
    "h": 317.3
  },
  "luminance": 0.0735
}

Semantic roles & 50–950 ramp

primary
#7C1C97
secondary
#67C14E
accent
#EC3C63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1C97

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

Preview Lab → · Contrast checker → · Palette generator →

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