#7A296D#7A296D

#7A296D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.140 H 334.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7A296D
RGBrgb(122, 41, 109)
HSLhsl(310, 50%, 32%)
HSVhsv(310, 66%, 48%)
CMYKcmyk(0%, 66.4%, 10.7%, 52.2%)
CIE-LABlab(31.41, 43.50, -21.94)
CIE-LCHlch(31.41, 48.72, 333.23°)
OKLaboklab(42.7% 0.1263 -0.0598)
OKLCHoklch(42.7% 0.14 334.7)
XYZxyz(11.5794, 6.8285, 15.1732)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A296D #297A36
analogous
#5F297A #7A296D #7A2945
triadic
#7A296D #6D7A29 #296D7A
tetradic
#7A296D #7A5F29 #297A36 #29457A
square
#7A296D #7A5F29 #297A36 #29457A
split-complementary
#7A296D #457A29 #297A5F
monochromatic
#1E0A1B #4C1A44 #7A296D #A83896 #C757B5

Accessibility & contrast

On white

8.88
#7A296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7A296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A296D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A296D#FFFFFF#000000##FFFFFF
##7A296D1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28426F
Deuteranopia (green-blind)
#434E6B
Tritanopia (blue-blind)
#802F47
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a296d;
/* rgb */ color: rgb(122, 41, 109);
/* oklch */ color: oklch(42.7% 0.140 334.7);
Tailwind
colors: {
  custom: {
    50: '#a36997',
    500: '#7a296d',
    950: '#000000',
  },
}
SCSS
$custom: #7a296d;
$custom-light: #a36997;
$custom-dark: #000000;
JSON
{
  "hex": "#7a296d",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 309.63,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42698,
    "c": 0.13975,
    "h": 334.7
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#7A296D
secondary
#53AC61
accent
#D9654F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7A296D

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

Preview Lab → · Contrast checker → · Palette generator →

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