#7C2E77#7C2E77

#7C2E77 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.1% C 0.142 H 330.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7C2E77
RGBrgb(124, 46, 119)
HSLhsl(304, 46%, 33%)
HSVhsv(304, 63%, 49%)
CMYKcmyk(0%, 62.9%, 4%, 51.4%)
CIE-LABlab(33.07, 43.54, -25.65)
CIE-LCHlch(33.07, 50.54, 329.50°)
OKLaboklab(44.14% 0.1233 -0.0704)
OKLCHoklch(44.14% 0.142 330.3)
XYZxyz(12.6189, 7.5719, 18.2461)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E77 #2E7C33
analogous
#5A2E7C #7C2E77 #7C2E50
triadic
#7C2E77 #777C2E #2E777C
tetradic
#7C2E77 #7C5A2E #2E7C33 #2E507C
square
#7C2E77 #7C5A2E #2E7C33 #2E507C
split-complementary
#7C2E77 #507C2E #2E7C5A
monochromatic
#230D21 #4F1D4C #7C2E77 #A93FA2 #C460BE

Accessibility & contrast

On white

8.35
#7C2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7C2E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2E77
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E77#FFFFFF#000000##FFFFFF
##7C2E771.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#435275
Tritanopia (blue-blind)
#81364E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2e77;
/* rgb */ color: rgb(124, 46, 119);
/* oklch */ color: oklch(44.1% 0.142 330.3);
Tailwind
colors: {
  custom: {
    50: '#a46c9e',
    500: '#7c2e77',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e77;
$custom-light: #a46c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e77",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 303.846,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44141,
    "c": 0.14203,
    "h": 330.3
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#7C2E77
secondary
#5BAB60
accent
#D65B52
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7C2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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