#7C1B74#7C1B74

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

Color values

HEX#7C1B74
RGBrgb(124, 27, 116)
HSLhsl(305, 64%, 30%)
HSVhsv(305, 78%, 49%)
CMYKcmyk(0%, 78.2%, 6.5%, 51.4%)
CIE-LABlab(30.23, 50.55, -28.23)
CIE-LCHlch(30.23, 57.90, 330.82°)
OKLaboklab(42.03% 0.1448 -0.0777)
OKLCHoklch(42.03% 0.164 331.8)
XYZxyz(11.8565, 6.3309, 17.1171)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B74 #1B7C23
analogous
#531B7C #7C1B74 #7C1B44
triadic
#7C1B74 #747C1B #1B747C
tetradic
#7C1B74 #7C531B #1B7C23 #1B447C
square
#7C1B74 #7C531B #1B7C23 #1B447C
split-complementary
#7C1B74 #447C1B #1B7C53
monochromatic
#190518 #4A1045 #7C1B74 #AE26A3 #D53DC8

Accessibility & contrast

On white

9.27
#7C1B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7C1B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B74
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B74#FFFFFF#000000##FFFFFF
##7C1B741.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133F76
Deuteranopia (green-blind)
#3B4C72
Tritanopia (blue-blind)
#812746
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1b74;
/* rgb */ color: rgb(124, 27, 116);
/* oklch */ color: oklch(42.0% 0.164 331.8);
Tailwind
colors: {
  custom: {
    50: '#a5639c',
    500: '#7c1b74',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b74;
$custom-light: #a5639c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b74",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 304.948,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42034,
    "c": 0.16436,
    "h": 331.8
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#7C1B74
secondary
#43B04C
accent
#E74E41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1B74

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

Preview Lab → · Contrast checker → · Palette generator →

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