#7C277A#7C277A

#7C277A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.155 H 328.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7C277A
RGBrgb(124, 39, 122)
HSLhsl(301, 52%, 32%)
HSVhsv(301, 69%, 49%)
CMYKcmyk(0%, 68.5%, 1.6%, 51.4%)
CIE-LABlab(32.13, 47.16, -29.03)
CIE-LCHlch(32.13, 55.38, 328.39°)
OKLaboklab(43.51% 0.1324 -0.0801)
OKLCHoklch(43.51% 0.155 328.8)
XYZxyz(12.5504, 7.1422, 19.1261)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C277A #277C29
analogous
#54277C #7C277A #7C2750
triadic
#7C277A #7A7C27 #277A7C
tetradic
#7C277A #7C5427 #277C29 #27507C
square
#7C277A #7C5427 #277C29 #27507C
split-complementary
#7C277A #507C27 #277C54
monochromatic
#1F0A1E #4D184C #7C277A #AB36A8 #C954C7

Accessibility & contrast

On white

8.65
#7C277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7C277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C277A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C277A#FFFFFF#000000##FFFFFF
##7C277A1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447C
Deuteranopia (green-blind)
#3D5078
Tritanopia (blue-blind)
#80324D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c277a;
/* rgb */ color: rgb(124, 39, 122);
/* oklch */ color: oklch(43.5% 0.155 328.8);
Tailwind
colors: {
  custom: {
    50: '#a569a1',
    500: '#7c277a',
    950: '#000000',
  },
}
SCSS
$custom: #7c277a;
$custom-light: #a569a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c277a",
  "rgb": {
    "r": 124,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 301.412,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43506,
    "c": 0.15473,
    "h": 328.8
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#7C277A
secondary
#51AE53
accent
#DC504C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070F
muted
#7F7A7E

Preview Lab

Preview with #7C277A

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

Preview Lab → · Contrast checker → · Palette generator →

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