#7A296F#7A296F

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

Color values

HEX#7A296F
RGBrgb(122, 41, 111)
HSLhsl(308, 50%, 32%)
HSVhsv(308, 66%, 48%)
CMYKcmyk(0%, 66.4%, 9%, 52.2%)
CIE-LABlab(31.51, 43.84, -23.06)
CIE-LCHlch(31.51, 49.53, 332.26°)
OKLaboklab(42.81% 0.1266 -0.063)
OKLCHoklch(42.81% 0.141 333.5)
XYZxyz(11.6883, 6.8721, 15.7467)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A296F #297A34
analogous
#5D297A #7A296F #7A2947
triadic
#7A296F #6F7A29 #296F7A
tetradic
#7A296F #7A5D29 #297A34 #29477A
square
#7A296F #7A5D29 #297A34 #29477A
split-complementary
#7A296F #477A29 #297A5D
monochromatic
#1E0A1C #4C1A45 #7A296F #A83899 #C757B7

Accessibility & contrast

On white

8.85
#7A296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A296F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A296F#FFFFFF#000000##FFFFFF
##7A296F1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274371
Deuteranopia (green-blind)
#424E6D
Tritanopia (blue-blind)
#802F48
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a296f;
/* rgb */ color: rgb(122, 41, 111);
/* oklch */ color: oklch(42.8% 0.141 333.5);
Tailwind
colors: {
  custom: {
    50: '#a36998',
    500: '#7a296f',
    950: '#000000',
  },
}
SCSS
$custom: #7a296f;
$custom-light: #a36998;
$custom-dark: #000000;
JSON
{
  "hex": "#7a296f",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 308.148,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42805,
    "c": 0.1414,
    "h": 333.5
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#7A296F
secondary
#53AC5F
accent
#D9614F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7A296F

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

Preview Lab → · Contrast checker → · Palette generator →

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