#7A276E#7A276E

#7A276E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.143 H 334.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7A276E
RGBrgb(122, 39, 110)
HSLhsl(309, 52%, 32%)
HSVhsv(309, 68%, 48%)
CMYKcmyk(0%, 68%, 9.8%, 52.2%)
CIE-LABlab(31.15, 44.54, -22.99)
CIE-LCHlch(31.15, 50.12, 332.70°)
OKLaboklab(42.52% 0.129 -0.0628)
OKLCHoklch(42.52% 0.143 334)
XYZxyz(11.5661, 6.7153, 15.4359)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A276E #277A33
analogous
#5D277A #7A276E #7A2745
triadic
#7A276E #6E7A27 #276E7A
tetradic
#7A276E #7A5D27 #277A33 #27457A
square
#7A276E #7A5D27 #277A33 #27457A
split-complementary
#7A276E #457A27 #277A5D
monochromatic
#1D091A #4C1844 #7A276E #A83698 #C853B7

Accessibility & contrast

On white

8.96
#7A276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A276E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A276E#FFFFFF#000000##FFFFFF
##7A276E1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264270
Deuteranopia (green-blind)
#414E6C
Tritanopia (blue-blind)
#802D47
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a276e;
/* rgb */ color: rgb(122, 39, 110);
/* oklch */ color: oklch(42.5% 0.143 334.0);
Tailwind
colors: {
  custom: {
    50: '#a36898',
    500: '#7a276e',
    950: '#000000',
  },
}
SCSS
$custom: #7a276e;
$custom-light: #a36898;
$custom-dark: #000000;
JSON
{
  "hex": "#7a276e",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 308.675,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42523,
    "c": 0.14347,
    "h": 334
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#7A276E
secondary
#51AC5E
accent
#DB614D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A276E

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

Preview Lab → · Contrast checker → · Palette generator →

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