#7C1E76#7C1E76

#7C1E76 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.163 H 330.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7C1E76
RGBrgb(124, 30, 118)
HSLhsl(304, 61%, 30%)
HSVhsv(304, 76%, 49%)
CMYKcmyk(0%, 75.8%, 4.8%, 51.4%)
CIE-LABlab(30.69, 49.89, -28.77)
CIE-LCHlch(30.69, 57.59, 330.03°)
OKLaboklab(42.4% 0.142 -0.0793)
OKLCHoklch(42.4% 0.163 330.8)
XYZxyz(12.0464, 6.5226, 17.7605)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E76 #1E7C24
analogous
#531E7C #7C1E76 #7C1E47
triadic
#7C1E76 #767C1E #1E767C
tetradic
#7C1E76 #7C531E #1E7C24 #1E477C
square
#7C1E76 #7C531E #1E7C24 #1E477C
split-complementary
#7C1E76 #477C1E #1E7C53
monochromatic
#190618 #4B1247 #7C1E76 #AD2AA5 #D143C8

Accessibility & contrast

On white

9.11
#7C1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7C1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E76
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E76#FFFFFF#000000##FFFFFF
##7C1E761.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154078
Deuteranopia (green-blind)
#3B4D74
Tritanopia (blue-blind)
#812A48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c1e76;
/* rgb */ color: rgb(124, 30, 118);
/* oklch */ color: oklch(42.4% 0.163 330.8);
Tailwind
colors: {
  custom: {
    50: '#a5659e',
    500: '#7c1e76',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e76;
$custom-light: #a5659e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e76",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 303.83,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42402,
    "c": 0.16265,
    "h": 330.8
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#7C1E76
secondary
#46AF4D
accent
#E44E44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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