#7B2C77#7B2C77

#7B2C77 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.144 H 329.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7B2C77
RGBrgb(123, 44, 119)
HSLhsl(303, 47%, 33%)
HSVhsv(303, 64%, 48%)
CMYKcmyk(0%, 64.2%, 3.3%, 51.8%)
CIE-LABlab(32.58, 44.18, -26.44)
CIE-LCHlch(32.58, 51.49, 329.10°)
OKLaboklab(43.75% 0.1248 -0.0727)
OKLCHoklch(43.75% 0.144 329.8)
XYZxyz(12.3987, 7.3451, 18.2139)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2C77 #2C7B30
analogous
#572C7B #7B2C77 #7B2C4F
triadic
#7B2C77 #777B2C #2C777B
tetradic
#7B2C77 #7B572C #2C7B30 #2C4F7B
square
#7B2C77 #7B572C #2C7B30 #2C4F7B
split-complementary
#7B2C77 #4F7B2C #2C7B57
monochromatic
#210C20 #4E1C4B #7B2C77 #A83CA3 #C55DC0

Accessibility & contrast

On white

8.51
#7B2C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7B2C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2C77
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2C77#FFFFFF#000000##FFFFFF
##7B2C771.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254679
Deuteranopia (green-blind)
#415075
Tritanopia (blue-blind)
#7F354D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2c77;
/* rgb */ color: rgb(123, 44, 119);
/* oklch */ color: oklch(43.7% 0.144 329.8);
Tailwind
colors: {
  custom: {
    50: '#a46b9e',
    500: '#7b2c77',
    950: '#000000',
  },
}
SCSS
$custom: #7b2c77;
$custom-light: #a46b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2c77",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 303.038,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43748,
    "c": 0.14442,
    "h": 329.8
  },
  "luminance": 0.07344
}

Semantic roles & 50–950 ramp

primary
#7B2C77
secondary
#58AB5C
accent
#D75851
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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