#7B2D79#7B2D79

#7B2D79 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.145 H 328.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7B2D79
RGBrgb(123, 45, 121)
HSLhsl(302, 46%, 33%)
HSVhsv(302, 63%, 48%)
CMYKcmyk(0%, 63.4%, 1.6%, 51.8%)
CIE-LABlab(32.85, 44.09, -27.27)
CIE-LCHlch(32.85, 51.85, 328.26°)
OKLaboklab(43.98% 0.1237 -0.0751)
OKLCHoklch(43.98% 0.145 328.7)
XYZxyz(12.5578, 7.4690, 18.8657)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2D79 #2D7B2F
analogous
#562D7B #7B2D79 #7B2D52
triadic
#7B2D79 #797B2D #2D797B
tetradic
#7B2D79 #7B562D #2D7B2F #2D527B
square
#7B2D79 #7B562D #2D7B2F #2D527B
split-complementary
#7B2D79 #527B2D #2D7B56
monochromatic
#210C21 #4E1D4D #7B2D79 #A83DA5 #C45EC2

Accessibility & contrast

On white

8.42
#7B2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7B2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2D79
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2D79#FFFFFF#000000##FFFFFF
##7B2D791.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#7F364F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2d79;
/* rgb */ color: rgb(123, 45, 121);
/* oklch */ color: oklch(44.0% 0.145 328.7);
Tailwind
colors: {
  custom: {
    50: '#a46ca0',
    500: '#7b2d79',
    950: '#000000',
  },
}
SCSS
$custom: #7b2d79;
$custom-light: #a46ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2d79",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 301.538,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4398,
    "c": 0.1447,
    "h": 328.7
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#7B2D79
secondary
#59AB5B
accent
#D65552
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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