#7A146A#7A146A

#7A146A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.163 H 335.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7A146A
RGBrgb(122, 20, 106)
HSLhsl(309, 72%, 28%)
HSVhsv(309, 84%, 48%)
CMYKcmyk(0%, 83.6%, 13.1%, 52.2%)
CIE-LABlab(28.59, 50.56, -24.44)
CIE-LCHlch(28.59, 56.16, 334.20°)
OKLaboklab(40.61% 0.1483 -0.0668)
OKLCHoklch(40.61% 0.163 335.8)
XYZxyz(10.8779, 5.6795, 14.1562)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A146A #147A24
analogous
#57147A #7A146A #7A1437
triadic
#7A146A #6A7A14 #146A7A
tetradic
#7A146A #7A5714 #147A24 #14377A
square
#7A146A #7A5714 #147A24 #14377A
split-complementary
#7A146A #377A14 #147A57
monochromatic
#1A0417 #450B3C #7A146A #AF1D98 #DC2CC1

Accessibility & contrast

On white

9.83
#7A146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A146A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A146A#FFFFFF#000000##FFFFFF
##7A146A1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6C
Deuteranopia (green-blind)
#3C4968
Tritanopia (blue-blind)
#811D3F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a146a;
/* rgb */ color: rgb(122, 20, 106);
/* oklch */ color: oklch(40.6% 0.163 335.8);
Tailwind
colors: {
  custom: {
    50: '#a46095',
    500: '#7a146a',
    950: '#000000',
  },
}
SCSS
$custom: #7a146a;
$custom-light: #a46095;
$custom-dark: #000000;
JSON
{
  "hex": "#7a146a",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 309.412,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40607,
    "c": 0.16267,
    "h": 335.8
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#7A146A
secondary
#3AB04D
accent
#EF5639
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7A146A

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

Preview Lab → · Contrast checker → · Palette generator →

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