#7B2576#7B2576

#7B2576 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.153 H 330.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7B2576
RGBrgb(123, 37, 118)
HSLhsl(303, 54%, 31%)
HSVhsv(303, 70%, 48%)
CMYKcmyk(0%, 69.9%, 4.1%, 51.8%)
CIE-LABlab(31.45, 47.01, -27.59)
CIE-LCHlch(31.45, 54.51, 329.59°)
OKLaboklab(42.91% 0.1333 -0.076)
OKLCHoklch(42.91% 0.153 330.3)
XYZxyz(12.0999, 6.8430, 17.8196)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2576 #257B2A
analogous
#55257B #7B2576 #7B254B
triadic
#7B2576 #767B25 #25767B
tetradic
#7B2576 #7B5525 #257B2A #254B7B
square
#7B2576 #7B5525 #257B2A #254B7B
split-complementary
#7B2576 #4B7B25 #257B55
monochromatic
#1D091C #4C1749 #7B2576 #AA33A3 #CA50C3

Accessibility & contrast

On white

8.87
#7B2576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7B2576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2576
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2576#FFFFFF#000000##FFFFFF
##7B25761.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4278
Deuteranopia (green-blind)
#3D4E74
Tritanopia (blue-blind)
#802F4A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2576;
/* rgb */ color: rgb(123, 37, 118);
/* oklch */ color: oklch(42.9% 0.153 330.3);
Tailwind
colors: {
  custom: {
    50: '#a4679e',
    500: '#7b2576',
    950: '#000000',
  },
}
SCSS
$custom: #7b2576;
$custom-light: #a4679e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2576",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 303.488,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42909,
    "c": 0.15345,
    "h": 330.3
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#7B2576
secondary
#4FAD54
accent
#DD534B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B2576

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

Preview Lab → · Contrast checker → · Palette generator →

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