#7C1275#7C1275

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

Color values

HEX#7C1275
RGBrgb(124, 18, 117)
HSLhsl(304, 75%, 28%)
HSVhsv(304, 85%, 49%)
CMYKcmyk(0%, 85.5%, 5.6%, 51.4%)
CIE-LABlab(29.42, 53.23, -30.15)
CIE-LCHlch(29.42, 61.17, 330.47°)
OKLaboklab(41.47% 0.1521 -0.0832)
OKLCHoklch(41.47% 0.173 331.3)
XYZxyz(11.7394, 6.0030, 17.3666)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1275 #127C19
analogous
#4E127C #7C1275 #7C1240
triadic
#7C1275 #757C12 #12757C
tetradic
#7C1275 #7C4E12 #127C19 #12407C
square
#7C1275 #7C4E12 #127C19 #12407C
split-complementary
#7C1275 #407C12 #127C4E
monochromatic
#1B0419 #470A43 #7C1275 #B11AA7 #E029D4

Accessibility & contrast

On white

9.54
#7C1275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C1275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1275
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1275#FFFFFF#000000##FFFFFF
##7C12751.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1275;
/* rgb */ color: rgb(124, 18, 117);
/* oklch */ color: oklch(41.5% 0.173 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6609d',
    500: '#7c1275',
    950: '#000000',
  },
}
SCSS
$custom: #7c1275;
$custom-light: #a6609d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1275",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 303.962,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41473,
    "c": 0.1734,
    "h": 331.3
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#7C1275
secondary
#38B240
accent
#F14337
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7C1275

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

Preview Lab → · Contrast checker → · Palette generator →

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