#7A2296#7A2296

#7A2296 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.185 H 316.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7A2296
RGBrgb(122, 34, 150)
HSLhsl(286, 63%, 36%)
HSVhsv(286, 77%, 59%)
CMYKcmyk(18.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(32.88, 53.99, -45.20)
CIE-LCHlch(32.88, 70.41, 320.06°)
OKLaboklab(44.55% 0.1338 -0.1274)
OKLCHoklch(44.55% 0.185 316.4)
XYZxyz(14.1022, 7.4842, 29.5500)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2296 #3E9622
analogous
#402296 #7A2296 #962278
triadic
#7A2296 #967A22 #22967A
tetradic
#7A2296 #964022 #3E9622 #227896
square
#7A2296 #964022 #3E9622 #227896
split-complementary
#7A2296 #789622 #229640
monochromatic
#290B32 #511764 #7A2296 #A32DC8 #BA59D9

Accessibility & contrast

On white

8.41
#7A2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7A2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2296
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2296#FFFFFF#000000##FFFFFF
##7A22961.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#225093
Tritanopia (blue-blind)
#783C5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2296;
/* rgb */ color: rgb(122, 34, 150);
/* oklch */ color: oklch(44.5% 0.185 316.4);
Tailwind
colors: {
  custom: {
    50: '#a467b5',
    500: '#7a2296',
    950: '#000000',
  },
}
SCSS
$custom: #7a2296;
$custom-light: #a467b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2296",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 285.517,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44547,
    "c": 0.18472,
    "h": 316.4
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#7A2296
secondary
#6FBE56
accent
#E64269
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2296

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

Preview Lab → · Contrast checker → · Palette generator →

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