#7C2E70#7C2E70

#7C2E70 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.136 H 334.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7C2E70
RGBrgb(124, 46, 112)
HSLhsl(309, 46%, 33%)
HSVhsv(309, 63%, 49%)
CMYKcmyk(0%, 62.9%, 9.7%, 51.4%)
CIE-LABlab(32.72, 42.30, -21.78)
CIE-LCHlch(32.72, 47.58, 332.75°)
OKLaboklab(43.77% 0.1224 -0.0594)
OKLCHoklch(43.77% 0.136 334.1)
XYZxyz(12.2139, 7.4099, 16.1130)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E70 #2E7C3A
analogous
#612E7C #7C2E70 #7C2E49
triadic
#7C2E70 #707C2E #2E707C
tetradic
#7C2E70 #7C612E #2E7C3A #2E497C
square
#7C2E70 #7C612E #2E7C3A #2E497C
split-complementary
#7C2E70 #497C2E #2E7C61
monochromatic
#230D1F #4F1D48 #7C2E70 #A93F98 #C460B5

Accessibility & contrast

On white

8.46
#7C2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7C2E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2E70
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E70#FFFFFF#000000##FFFFFF
##7C2E701.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4672
Deuteranopia (green-blind)
#46516E
Tritanopia (blue-blind)
#82334A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2e70;
/* rgb */ color: rgb(124, 46, 112);
/* oklch */ color: oklch(43.8% 0.136 334.1);
Tailwind
colors: {
  custom: {
    50: '#a46c99',
    500: '#7c2e70',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e70;
$custom-light: #a46c99;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e70",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 309.231,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.13601,
    "h": 334.1
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#7C2E70
secondary
#5BAB67
accent
#D66652
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7C2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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