#7B1A70#7B1A70

#7B1A70 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.162 H 333.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7B1A70
RGBrgb(123, 26, 112)
HSLhsl(307, 65%, 29%)
HSVhsv(307, 79%, 48%)
CMYKcmyk(0%, 78.9%, 8.9%, 51.8%)
CIE-LABlab(29.71, 49.98, -26.51)
CIE-LCHlch(29.71, 56.58, 332.06°)
OKLaboklab(41.56% 0.1445 -0.0728)
OKLCHoklch(41.56% 0.162 333.3)
XYZxyz(11.4625, 6.1206, 15.9038)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A70 #1A7B25
analogous
#561A7B #7B1A70 #7B1A40
triadic
#7B1A70 #707B1A #1A707B
tetradic
#7B1A70 #7B561A #1A7B25 #1A407B
square
#7B1A70 #7B561A #1A7B25 #1A407B
split-complementary
#7B1A70 #407B1A #1A7B56
monochromatic
#190517 #480F42 #7B1A70 #AE259E #D53AC4

Accessibility & contrast

On white

9.44
#7B1A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7B1A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A70
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A70#FFFFFF#000000##FFFFFF
##7B1A701.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D72
Deuteranopia (green-blind)
#3C4B6E
Tritanopia (blue-blind)
#812444
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1a70;
/* rgb */ color: rgb(123, 26, 112);
/* oklch */ color: oklch(41.6% 0.162 333.3);
Tailwind
colors: {
  custom: {
    50: '#a56399',
    500: '#7b1a70',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a70;
$custom-light: #a56399;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a70",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 306.804,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41556,
    "c": 0.16181,
    "h": 333.3
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#7B1A70
secondary
#42AF4E
accent
#E85340
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1A70

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

Preview Lab → · Contrast checker → · Palette generator →

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