#7B1672#7B1672

#7B1672 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.167 H 332.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7B1672
RGBrgb(123, 22, 114)
HSLhsl(305, 70%, 28%)
HSVhsv(305, 82%, 48%)
CMYKcmyk(0%, 82.1%, 7.3%, 51.8%)
CIE-LABlab(29.41, 51.50, -28.26)
CIE-LCHlch(29.41, 58.74, 331.24°)
OKLaboklab(41.38% 0.1481 -0.0778)
OKLCHoklch(41.38% 0.167 332.3)
XYZxyz(11.4926, 6.0007, 16.4693)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1672 #167B1F
analogous
#51167B #7B1672 #7B163F
triadic
#7B1672 #727B16 #16727B
tetradic
#7B1672 #7B5116 #167B1F #163F7B
square
#7B1672 #7B5116 #167B1F #163F7B
split-complementary
#7B1672 #3F7B16 #167B51
monochromatic
#1A0518 #470D42 #7B1672 #AF1FA2 #DA31CB

Accessibility & contrast

On white

9.55
#7B1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7B1672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1672
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1672#FFFFFF#000000##FFFFFF
##7B16721.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3C74
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#812344
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1672;
/* rgb */ color: rgb(123, 22, 114);
/* oklch */ color: oklch(41.4% 0.167 332.3);
Tailwind
colors: {
  custom: {
    50: '#a5619b',
    500: '#7b1672',
    950: '#000000',
  },
}
SCSS
$custom: #7b1672;
$custom-light: #a5619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1672",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 305.347,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41377,
    "c": 0.16726,
    "h": 332.3
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#7B1672
secondary
#3DB047
accent
#EC4B3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1672

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

Preview Lab → · Contrast checker → · Palette generator →

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