#7A276D#7A276D

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

Color values

HEX#7A276D
RGBrgb(122, 39, 109)
HSLhsl(309, 52%, 32%)
HSVhsv(309, 68%, 48%)
CMYKcmyk(0%, 68%, 10.7%, 52.2%)
CIE-LABlab(31.10, 44.37, -22.43)
CIE-LCHlch(31.10, 49.72, 333.18°)
OKLaboklab(42.47% 0.1289 -0.0612)
OKLCHoklch(42.47% 0.143 334.6)
XYZxyz(11.5120, 6.6937, 15.1507)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A276D #277A34
analogous
#5E277A #7A276D #7A2744
triadic
#7A276D #6D7A27 #276D7A
tetradic
#7A276D #7A5E27 #277A34 #27447A
square
#7A276D #7A5E27 #277A34 #27447A
split-complementary
#7A276D #447A27 #277A5E
monochromatic
#1D091A #4C1844 #7A276D #A83696 #C853B6

Accessibility & contrast

On white

8.98
#7A276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A276D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A276D#FFFFFF#000000##FFFFFF
##7A276D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#424E6B
Tritanopia (blue-blind)
#802D46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a276d;
/* rgb */ color: rgb(122, 39, 109);
/* oklch */ color: oklch(42.5% 0.143 334.6);
Tailwind
colors: {
  custom: {
    50: '#a36897',
    500: '#7a276d',
    950: '#000000',
  },
}
SCSS
$custom: #7a276d;
$custom-light: #a36897;
$custom-dark: #000000;
JSON
{
  "hex": "#7a276d",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 309.398,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4247,
    "c": 0.14266,
    "h": 334.6
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#7A276D
secondary
#51AC5F
accent
#DB634D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A276D

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

Preview Lab → · Contrast checker → · Palette generator →

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