#7A1670#7A1670

#7A1670 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.165 H 332.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7A1670
RGBrgb(122, 22, 112)
HSLhsl(306, 69%, 28%)
HSVhsv(306, 82%, 48%)
CMYKcmyk(0%, 82%, 8.2%, 52.2%)
CIE-LABlab(29.11, 50.95, -27.47)
CIE-LCHlch(29.11, 57.88, 331.67°)
OKLaboklab(41.09% 0.147 -0.0755)
OKLCHoklch(41.09% 0.165 332.8)
XYZxyz(11.2376, 5.8822, 15.8696)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1670 #167A20
analogous
#52167A #7A1670 #7A163E
triadic
#7A1670 #707A16 #16707A
tetradic
#7A1670 #7A5216 #167A20 #163E7A
square
#7A1670 #7A5216 #167A20 #163E7A
split-complementary
#7A1670 #3E7A16 #167A52
monochromatic
#1A0518 #460D40 #7A1670 #AE1FA0 #DA31C9

Accessibility & contrast

On white

9.65
#7A1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7A1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1670
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1670#FFFFFF#000000##FFFFFF
##7A16701.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3C72
Deuteranopia (green-blind)
#394A6E
Tritanopia (blue-blind)
#802243
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1670;
/* rgb */ color: rgb(122, 22, 112);
/* oklch */ color: oklch(41.1% 0.165 332.8);
Tailwind
colors: {
  custom: {
    50: '#a46199',
    500: '#7a1670',
    950: '#000000',
  },
}
SCSS
$custom: #7a1670;
$custom-light: #a46199;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1670",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 306,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.16524,
    "h": 332.8
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#7A1670
secondary
#3DAF48
accent
#EC4D3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1670

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

Preview Lab → · Contrast checker → · Palette generator →

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