#7C1674#7C1674

#7C1674 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.169 H 331.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7C1674
RGBrgb(124, 22, 116)
HSLhsl(305, 70%, 29%)
HSVhsv(305, 82%, 49%)
CMYKcmyk(0%, 82.3%, 6.5%, 51.4%)
CIE-LABlab(29.72, 52.04, -29.05)
CIE-LCHlch(29.72, 59.60, 330.83°)
OKLaboklab(41.66% 0.1492 -0.0801)
OKLCHoklch(41.66% 0.169 331.8)
XYZxyz(11.7515, 6.1209, 17.0821)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1674 #167C1E
analogous
#51167C #7C1674 #7C1641
triadic
#7C1674 #747C16 #16747C
tetradic
#7C1674 #7C5116 #167C1E #16417C
square
#7C1674 #7C5116 #167C1E #16417C
split-complementary
#7C1674 #417C16 #167C51
monochromatic
#1A0518 #480D43 #7C1674 #B01FA5 #DB32CD

Accessibility & contrast

On white

9.44
#7C1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7C1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1674
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1674#FFFFFF#000000##FFFFFF
##7C16741.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D76
Deuteranopia (green-blind)
#394B72
Tritanopia (blue-blind)
#812445
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1674;
/* rgb */ color: rgb(124, 22, 116);
/* oklch */ color: oklch(41.7% 0.169 331.8);
Tailwind
colors: {
  custom: {
    50: '#a5619c',
    500: '#7c1674',
    950: '#000000',
  },
}
SCSS
$custom: #7c1674;
$custom-light: #a5619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1674",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 304.706,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41664,
    "c": 0.16928,
    "h": 331.8
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#7C1674
secondary
#3DB146
accent
#ED493B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1674

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

Preview Lab → · Contrast checker → · Palette generator →

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