#7C1F74#7C1F74

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

Color values

HEX#7C1F74
RGBrgb(124, 31, 116)
HSLhsl(305, 60%, 30%)
HSVhsv(305, 75%, 49%)
CMYKcmyk(0%, 75%, 6.5%, 51.4%)
CIE-LABlab(30.70, 49.20, -27.48)
CIE-LCHlch(30.70, 56.36, 330.81°)
OKLaboklab(42.37% 0.1409 -0.0756)
OKLCHoklch(42.37% 0.16 331.8)
XYZxyz(11.9546, 6.5270, 17.1498)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F74 #1F7C27
analogous
#551F7C #7C1F74 #7C1F46
triadic
#7C1F74 #747C1F #1F747C
tetradic
#7C1F74 #7C551F #1F7C27 #1F467C
square
#7C1F74 #7C551F #1F7C27 #1F467C
split-complementary
#7C1F74 #467C1F #1F7C55
monochromatic
#1A0718 #4B1346 #7C1F74 #AD2BA2 #D045C4

Accessibility & contrast

On white

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

On black

2.31
#7C1F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C1F74#FFFFFF#000000##FFFFFF
##7C1F741.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184076
Deuteranopia (green-blind)
#3D4D72
Tritanopia (blue-blind)
#812A47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c1f74;
/* rgb */ color: rgb(124, 31, 116);
/* oklch */ color: oklch(42.4% 0.160 331.8);
Tailwind
colors: {
  custom: {
    50: '#a5659c',
    500: '#7c1f74',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f74;
$custom-light: #a5659c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f74",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 305.161,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42373,
    "c": 0.15991,
    "h": 331.8
  },
  "luminance": 0.06526
}

Semantic roles & 50–950 ramp

primary
#7C1F74
secondary
#48AF50
accent
#E35245
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1F74

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

Preview Lab → · Contrast checker → · Palette generator →

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