#7B1673#7B1673

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

Color values

HEX#7B1673
RGBrgb(123, 22, 115)
HSLhsl(305, 70%, 28%)
HSVhsv(305, 82%, 48%)
CMYKcmyk(0%, 82.1%, 6.5%, 51.8%)
CIE-LABlab(29.47, 51.66, -28.81)
CIE-LCHlch(29.47, 59.15, 330.85°)
OKLaboklab(41.44% 0.1481 -0.0794)
OKLCHoklch(41.44% 0.168 331.8)
XYZxyz(11.5498, 6.0236, 16.7707)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1673 #167B1E
analogous
#50167B #7B1673 #7B1640
triadic
#7B1673 #737B16 #16737B
tetradic
#7B1673 #7B5016 #167B1E #16407B
square
#7B1673 #7B5016 #167B1E #16407B
split-complementary
#7B1673 #407B16 #167B50
monochromatic
#1A0518 #470D42 #7B1673 #AF1FA4 #DA31CD

Accessibility & contrast

On white

9.53
#7B1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1673
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1673#FFFFFF#000000##FFFFFF
##7B16731.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D75
Deuteranopia (green-blind)
#394A71
Tritanopia (blue-blind)
#802444
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1673;
/* rgb */ color: rgb(123, 22, 115);
/* oklch */ color: oklch(41.4% 0.168 331.8);
Tailwind
colors: {
  custom: {
    50: '#a5619b',
    500: '#7b1673',
    950: '#000000',
  },
}
SCSS
$custom: #7b1673;
$custom-light: #a5619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1673",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 304.752,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41437,
    "c": 0.16801,
    "h": 331.8
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#7B1673
secondary
#3DB046
accent
#EC493B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1673

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

Preview Lab → · Contrast checker → · Palette generator →

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