#7A146C#7A146C

#7A146C is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.164 H 334.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7A146C
RGBrgb(122, 20, 108)
HSLhsl(308, 72%, 28%)
HSVhsv(308, 84%, 48%)
CMYKcmyk(0%, 83.6%, 11.5%, 52.2%)
CIE-LABlab(28.70, 50.87, -25.56)
CIE-LCHlch(28.70, 56.93, 333.32°)
OKLaboklab(40.72% 0.1484 -0.07)
OKLCHoklch(40.72% 0.164 334.7)
XYZxyz(10.9831, 5.7216, 14.7104)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A146C #147A22
analogous
#55147A #7A146C #7A1439
triadic
#7A146C #6C7A14 #146C7A
tetradic
#7A146C #7A5514 #147A22 #14397A
square
#7A146C #7A5514 #147A22 #14397A
split-complementary
#7A146C #397A14 #147A55
monochromatic
#1A0417 #450B3D #7A146C #AF1D9B #DC2CC4

Accessibility & contrast

On white

9.79
#7A146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A146C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A146C#FFFFFF#000000##FFFFFF
##7A146C1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6E
Deuteranopia (green-blind)
#3B496A
Tritanopia (blue-blind)
#801F40
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a146c;
/* rgb */ color: rgb(122, 20, 108);
/* oklch */ color: oklch(40.7% 0.164 334.7);
Tailwind
colors: {
  custom: {
    50: '#a46096',
    500: '#7a146c',
    950: '#000000',
  },
}
SCSS
$custom: #7a146c;
$custom-light: #a46096;
$custom-dark: #000000;
JSON
{
  "hex": "#7a146c",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 308.235,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40721,
    "c": 0.1641,
    "h": 334.7
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#7A146C
secondary
#3AB04A
accent
#EF5239
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7A146C

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

Preview Lab → · Contrast checker → · Palette generator →

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