#7C1274#7C1274

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

Color values

HEX#7C1274
RGBrgb(124, 18, 116)
HSLhsl(305, 75%, 28%)
HSVhsv(305, 85%, 49%)
CMYKcmyk(0%, 85.5%, 6.5%, 51.4%)
CIE-LABlab(29.36, 53.07, -29.61)
CIE-LCHlch(29.36, 60.77, 330.84°)
OKLaboklab(41.41% 0.1521 -0.0817)
OKLCHoklch(41.41% 0.173 331.8)
XYZxyz(11.6809, 5.9797, 17.0586)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1274 #127C1A
analogous
#4F127C #7C1274 #7C123F
triadic
#7C1274 #747C12 #12747C
tetradic
#7C1274 #7C4F12 #127C1A #123F7C
square
#7C1274 #7C4F12 #127C1A #123F7C
split-complementary
#7C1274 #3F7C12 #127C4F
monochromatic
#1B0419 #470A42 #7C1274 #B11AA6 #E029D2

Accessibility & contrast

On white

9.56
#7C1274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1274
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1274#FFFFFF#000000##FFFFFF
##7C12741.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043C76
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#812244
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1274;
/* rgb */ color: rgb(124, 18, 116);
/* oklch */ color: oklch(41.4% 0.173 331.8);
Tailwind
colors: {
  custom: {
    50: '#a6609c',
    500: '#7c1274',
    950: '#000000',
  },
}
SCSS
$custom: #7c1274;
$custom-light: #a6609c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1274",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 304.528,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41412,
    "c": 0.17266,
    "h": 331.8
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#7C1274
secondary
#38B241
accent
#F14537
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7C1274

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

Preview Lab → · Contrast checker → · Palette generator →

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