#7A146F#7A146F

#7A146F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.166 H 333.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7A146F
RGBrgb(122, 20, 111)
HSLhsl(306, 72%, 28%)
HSVhsv(306, 84%, 48%)
CMYKcmyk(0%, 83.6%, 9%, 52.2%)
CIE-LABlab(28.87, 51.34, -27.22)
CIE-LCHlch(28.87, 58.11, 332.07°)
OKLaboklab(40.9% 0.1485 -0.0748)
OKLCHoklch(40.9% 0.166 333.3)
XYZxyz(11.1455, 5.7866, 15.5658)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A146F #147A1F
analogous
#52147A #7A146F #7A143C
triadic
#7A146F #6F7A14 #146F7A
tetradic
#7A146F #7A5214 #147A1F #143C7A
square
#7A146F #7A5214 #147A1F #143C7A
split-complementary
#7A146F #3C7A14 #147A52
monochromatic
#1A0418 #450B3F #7A146F #AF1D9F #DC2CC9

Accessibility & contrast

On white

9.73
#7A146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7A146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A146F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A146F#FFFFFF#000000##FFFFFF
##7A146F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B71
Deuteranopia (green-blind)
#39496D
Tritanopia (blue-blind)
#802042
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a146f;
/* rgb */ color: rgb(122, 20, 111);
/* oklch */ color: oklch(40.9% 0.166 333.3);
Tailwind
colors: {
  custom: {
    50: '#a46098',
    500: '#7a146f',
    950: '#000000',
  },
}
SCSS
$custom: #7a146f;
$custom-light: #a46098;
$custom-dark: #000000;
JSON
{
  "hex": "#7a146f",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 306.471,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40896,
    "c": 0.1663,
    "h": 333.3
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#7A146F
secondary
#3AB047
accent
#EF4D39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7A146F

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

Preview Lab → · Contrast checker → · Palette generator →

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