#7A327A#7A327A

#7A327A is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.5% C 0.137 H 327.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7A327A
RGBrgb(122, 50, 122)
HSLhsl(300, 42%, 34%)
HSVhsv(300, 59%, 48%)
CMYKcmyk(0%, 59%, 0%, 52.2%)
CIE-LABlab(33.62, 41.62, -26.71)
CIE-LCHlch(33.62, 49.45, 327.31°)
OKLaboklab(44.52% 0.1158 -0.0736)
OKLCHoklch(44.52% 0.137 327.6)
XYZxyz(12.6793, 7.8247, 19.2511)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A327A #327A32
analogous
#56327A #7A327A #7A3256
triadic
#7A327A #7A7A32 #327A7A
tetradic
#7A327A #7A5632 #327A32 #32567A
square
#7A327A #7A5632 #327A32 #32567A
split-complementary
#7A327A #567A32 #327A56
monochromatic
#230E23 #4F204F #7A327A #A544A5 #C066C0

Accessibility & contrast

On white

8.19
#7A327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7A327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A327A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A327A#FFFFFF#000000##FFFFFF
##7A327A1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497C
Deuteranopia (green-blind)
#425278
Tritanopia (blue-blind)
#7E3B51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a327a;
/* rgb */ color: rgb(122, 50, 122);
/* oklch */ color: oklch(44.5% 0.137 327.6);
Tailwind
colors: {
  custom: {
    50: '#a36ea1',
    500: '#7a327a',
    950: '#000000',
  },
}
SCSS
$custom: #7a327a;
$custom-light: #a36ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a327a",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 300,
    "s": 41.86,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44523,
    "c": 0.13722,
    "h": 327.6
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#7A327A
secondary
#60A860
accent
#D25656
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #7A327A

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

Preview Lab → · Contrast checker → · Palette generator →

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