#7B1773#7B1773

#7B1773 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.167 H 331.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7B1773
RGBrgb(123, 23, 115)
HSLhsl(305, 68%, 29%)
HSVhsv(305, 81%, 48%)
CMYKcmyk(0%, 81.3%, 6.5%, 51.8%)
CIE-LABlab(29.57, 51.37, -28.65)
CIE-LCHlch(29.57, 58.82, 330.85°)
OKLaboklab(41.51% 0.1473 -0.079)
OKLCHoklch(41.51% 0.167 331.8)
XYZxyz(11.5693, 6.0625, 16.7772)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1773 #177B1F
analogous
#51177B #7B1773 #7B1741
triadic
#7B1773 #737B17 #17737B
tetradic
#7B1773 #7B5117 #177B1F #17417B
square
#7B1773 #7B5117 #177B1F #17417B
split-complementary
#7B1773 #417B17 #177B51
monochromatic
#1A0518 #470D43 #7B1773 #AF21A3 #D933CC

Accessibility & contrast

On white

9.49
#7B1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7B1773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1773
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1773#FFFFFF#000000##FFFFFF
##7B17731.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D75
Deuteranopia (green-blind)
#394A71
Tritanopia (blue-blind)
#802445
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1773;
/* rgb */ color: rgb(123, 23, 115);
/* oklch */ color: oklch(41.5% 0.167 331.8);
Tailwind
colors: {
  custom: {
    50: '#a5629b',
    500: '#7b1773',
    950: '#000000',
  },
}
SCSS
$custom: #7b1773;
$custom-light: #a5629b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1773",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 304.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.16708,
    "h": 331.8
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#7B1773
secondary
#3EB047
accent
#EB4A3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1773

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

Preview Lab → · Contrast checker → · Palette generator →

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