#7C1175#7C1175

#7C1175 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.174 H 331.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7C1175
RGBrgb(124, 17, 117)
HSLhsl(304, 76%, 28%)
HSVhsv(304, 86%, 49%)
CMYKcmyk(0%, 86.3%, 5.6%, 51.4%)
CIE-LABlab(29.34, 53.46, -30.28)
CIE-LCHlch(29.34, 61.44, 330.47°)
OKLaboklab(41.42% 0.1528 -0.0836)
OKLCHoklch(41.42% 0.174 331.3)
XYZxyz(11.7235, 5.9713, 17.3613)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1175 #117C18
analogous
#4D117C #7C1175 #7C1140
triadic
#7C1175 #757C11 #11757C
tetradic
#7C1175 #7C4D11 #117C18 #11407C
square
#7C1175 #7C4D11 #117C18 #11407C
split-complementary
#7C1175 #407C11 #117C4D
monochromatic
#1B0419 #460A42 #7C1175 #B218A8 #E126D5

Accessibility & contrast

On white

9.57
#7C1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7C1175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1175
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1175#FFFFFF#000000##FFFFFF
##7C11751.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C77
Deuteranopia (green-blind)
#374A73
Tritanopia (blue-blind)
#812245
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1175;
/* rgb */ color: rgb(124, 17, 117);
/* oklch */ color: oklch(41.4% 0.174 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6609d',
    500: '#7c1175',
    950: '#000000',
  },
}
SCSS
$custom: #7c1175;
$custom-light: #a6609d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1175",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 303.925,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.17417,
    "h": 331.3
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#7C1175
secondary
#37B23F
accent
#F24235
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7C1175

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

Preview Lab → · Contrast checker → · Palette generator →

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