#7A1570#7A1570

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

Color values

HEX#7A1570
RGBrgb(122, 21, 112)
HSLhsl(306, 71%, 28%)
HSVhsv(306, 83%, 48%)
CMYKcmyk(0%, 82.8%, 8.2%, 52.2%)
CIE-LABlab(29.02, 51.23, -27.62)
CIE-LCHlch(29.02, 58.20, 331.67°)
OKLaboklab(41.02% 0.1478 -0.076)
OKLCHoklch(41.02% 0.166 332.8)
XYZxyz(11.2189, 5.8447, 15.8634)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1570 #157A1F
analogous
#52157A #7A1570 #7A153D
triadic
#7A1570 #707A15 #15707A
tetradic
#7A1570 #7A5215 #157A1F #153D7A
square
#7A1570 #7A5215 #157A1F #153D7A
split-complementary
#7A1570 #3D7A15 #157A52
monochromatic
#1A0418 #460C40 #7A1570 #AE1EA0 #DB2ECA

Accessibility & contrast

On white

9.68
#7A1570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7A1570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1570
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1570#FFFFFF#000000##FFFFFF
##7A15701.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1570;
/* rgb */ color: rgb(122, 21, 112);
/* oklch */ color: oklch(41.0% 0.166 332.8);
Tailwind
colors: {
  custom: {
    50: '#a46199',
    500: '#7a1570',
    950: '#000000',
  },
}
SCSS
$custom: #7a1570;
$custom-light: #a46199;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1570",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 305.941,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41022,
    "c": 0.16616,
    "h": 332.8
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#7A1570
secondary
#3BAF47
accent
#ED4C3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7A1570

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

Preview Lab → · Contrast checker → · Palette generator →

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