#7C1675#7C1675

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

Color values

HEX#7C1675
RGBrgb(124, 22, 117)
HSLhsl(304, 70%, 29%)
HSVhsv(304, 82%, 49%)
CMYKcmyk(0%, 82.3%, 5.6%, 51.4%)
CIE-LABlab(29.77, 52.20, -29.59)
CIE-LCHlch(29.77, 60.01, 330.45°)
OKLaboklab(41.73% 0.1492 -0.0816)
OKLCHoklch(41.73% 0.17 331.3)
XYZxyz(11.8100, 6.1442, 17.3901)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1675 #167C1D
analogous
#50167C #7C1675 #7C1642
triadic
#7C1675 #757C16 #16757C
tetradic
#7C1675 #7C5016 #167C1D #16427C
square
#7C1675 #7C5016 #167C1D #16427C
split-complementary
#7C1675 #427C16 #167C50
monochromatic
#1A0519 #480D44 #7C1675 #B01FA6 #DB32CF

Accessibility & contrast

On white

9.42
#7C1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7C1675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1675
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1675#FFFFFF#000000##FFFFFF
##7C16751.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D77
Deuteranopia (green-blind)
#394B73
Tritanopia (blue-blind)
#812446
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1675;
/* rgb */ color: rgb(124, 22, 117);
/* oklch */ color: oklch(41.7% 0.170 331.3);
Tailwind
colors: {
  custom: {
    50: '#a5629d',
    500: '#7c1675',
    950: '#000000',
  },
}
SCSS
$custom: #7c1675;
$custom-light: #a5629d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1675",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 304.118,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.17003,
    "h": 331.3
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#7C1675
secondary
#3DB145
accent
#ED473B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1675

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

Preview Lab → · Contrast checker → · Palette generator →

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