#7A1470#7A1470

#7A1470 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.167 H 332.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7A1470
RGBrgb(122, 20, 112)
HSLhsl(306, 72%, 28%)
HSVhsv(306, 84%, 48%)
CMYKcmyk(0%, 83.6%, 8.2%, 52.2%)
CIE-LABlab(28.92, 51.50, -27.77)
CIE-LCHlch(28.92, 58.51, 331.66°)
OKLaboklab(40.96% 0.1485 -0.0764)
OKLCHoklch(40.96% 0.167 332.8)
XYZxyz(11.2009, 5.8087, 15.8574)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1470 #147A1E
analogous
#51147A #7A1470 #7A143D
triadic
#7A1470 #707A14 #14707A
tetradic
#7A1470 #7A5114 #147A1E #143D7A
square
#7A1470 #7A5114 #147A1E #143D7A
split-complementary
#7A1470 #3D7A14 #147A51
monochromatic
#1A0418 #450B40 #7A1470 #AF1DA0 #DC2CCB

Accessibility & contrast

On white

9.72
#7A1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1470
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1470#FFFFFF#000000##FFFFFF
##7A14701.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3B72
Deuteranopia (green-blind)
#39496E
Tritanopia (blue-blind)
#802142
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1470;
/* rgb */ color: rgb(122, 20, 112);
/* oklch */ color: oklch(41.0% 0.167 332.8);
Tailwind
colors: {
  custom: {
    50: '#a46099',
    500: '#7a1470',
    950: '#000000',
  },
}
SCSS
$custom: #7a1470;
$custom-light: #a46099;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1470",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 305.882,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40956,
    "c": 0.16704,
    "h": 332.8
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#7A1470
secondary
#3AB046
accent
#EF4B39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7A1470

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

Preview Lab → · Contrast checker → · Palette generator →

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