#7A296E#7A296E

#7A296E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.141 H 334.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7A296E
RGBrgb(122, 41, 110)
HSLhsl(309, 50%, 32%)
HSVhsv(309, 66%, 48%)
CMYKcmyk(0%, 66.4%, 9.8%, 52.2%)
CIE-LABlab(31.46, 43.67, -22.50)
CIE-LCHlch(31.46, 49.13, 332.74°)
OKLaboklab(42.75% 0.1265 -0.0614)
OKLCHoklch(42.75% 0.141 334.1)
XYZxyz(11.6335, 6.8502, 15.4583)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A296E #297A35
analogous
#5E297A #7A296E #7A2946
triadic
#7A296E #6E7A29 #296E7A
tetradic
#7A296E #7A5E29 #297A35 #29467A
square
#7A296E #7A5E29 #297A35 #29467A
split-complementary
#7A296E #467A29 #297A5E
monochromatic
#1E0A1B #4C1A45 #7A296E #A83897 #C757B6

Accessibility & contrast

On white

8.86
#7A296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A296E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A296E#FFFFFF#000000##FFFFFF
##7A296E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284270
Deuteranopia (green-blind)
#424E6C
Tritanopia (blue-blind)
#802F47
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a296e;
/* rgb */ color: rgb(122, 41, 110);
/* oklch */ color: oklch(42.8% 0.141 334.1);
Tailwind
colors: {
  custom: {
    50: '#a36998',
    500: '#7a296e',
    950: '#000000',
  },
}
SCSS
$custom: #7a296e;
$custom-light: #a36998;
$custom-dark: #000000;
JSON
{
  "hex": "#7a296e",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 308.889,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42751,
    "c": 0.14057,
    "h": 334.1
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#7A296E
secondary
#53AC60
accent
#D9634F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7A296E

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

Preview Lab → · Contrast checker → · Palette generator →

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