#7C296F#7C296F

#7C296F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.143 H 334.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7C296F
RGBrgb(124, 41, 111)
HSLhsl(309, 50%, 32%)
HSVhsv(309, 67%, 49%)
CMYKcmyk(0%, 66.9%, 10.5%, 51.4%)
CIE-LABlab(31.85, 44.40, -22.51)
CIE-LCHlch(31.85, 49.78, 333.12°)
OKLaboklab(43.12% 0.1289 -0.0614)
OKLCHoklch(43.12% 0.143 334.5)
XYZxyz(11.9745, 7.0196, 15.7601)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C296F #297C36
analogous
#60297C #7C296F #7C2945
triadic
#7C296F #6F7C29 #296F7C
tetradic
#7C296F #7C6029 #297C36 #29457C
square
#7C296F #7C6029 #297C36 #29457C
split-complementary
#7C296F #457C29 #297C60
monochromatic
#200B1D #4E1A46 #7C296F #AA3898 #C858B6

Accessibility & contrast

On white

8.74
#7C296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7C296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C296F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C296F#FFFFFF#000000##FFFFFF
##7C296F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284371
Deuteranopia (green-blind)
#434F6D
Tritanopia (blue-blind)
#822F48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c296f;
/* rgb */ color: rgb(124, 41, 111);
/* oklch */ color: oklch(43.1% 0.143 334.5);
Tailwind
colors: {
  custom: {
    50: '#a56998',
    500: '#7c296f',
    950: '#000000',
  },
}
SCSS
$custom: #7c296f;
$custom-light: #a56998;
$custom-dark: #000000;
JSON
{
  "hex": "#7c296f",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 309.398,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43117,
    "c": 0.14273,
    "h": 334.5
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#7C296F
secondary
#54AD62
accent
#DA644E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7C296F

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

Preview Lab → · Contrast checker → · Palette generator →

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