#7C1C8B#7C1C8B

#7C1C8B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.182 H 321.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7C1C8B
RGBrgb(124, 28, 139)
HSLhsl(292, 66%, 33%)
HSVhsv(292, 80%, 55%)
CMYKcmyk(10.8%, 79.9%, 0%, 45.5%)
CIE-LABlab(31.76, 54.28, -40.22)
CIE-LCHlch(31.76, 67.56, 323.46°)
OKLaboklab(43.58% 0.143 -0.1126)
OKLCHoklch(43.58% 0.182 321.8)
XYZxyz(13.3871, 6.9804, 25.0633)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C8B #2B8B1C
analogous
#451C8B #7C1C8B #8B1C62
triadic
#7C1C8B #8B7C1C #1C8B7C
tetradic
#7C1C8B #8B451C #2B8B1C #1C628B
square
#7C1C8B #8B451C #2B8B1C #1C628B
split-complementary
#7C1C8B #628B1C #1C8B45
monochromatic
#210725 #4F1258 #7C1C8B #A926BE #C647DA

Accessibility & contrast

On white

8.76
#7C1C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7C1C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C8B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C8B#FFFFFF#000000##FFFFFF
##7C1C8B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#7D3353
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1c8b;
/* rgb */ color: rgb(124, 28, 139);
/* oklch */ color: oklch(43.6% 0.182 321.8);
Tailwind
colors: {
  custom: {
    50: '#a665ad',
    500: '#7c1c8b',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c8b;
$custom-light: #a665ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c8b",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 291.892,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43579,
    "c": 0.18202,
    "h": 321.8
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#7C1C8B
secondary
#57BC47
accent
#E93E56
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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