#7B2B71#7B2B71

#7B2B71 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.141 H 333.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7B2B71
RGBrgb(123, 43, 113)
HSLhsl(308, 48%, 33%)
HSVhsv(308, 65%, 48%)
CMYKcmyk(0%, 65%, 8.1%, 51.8%)
CIE-LABlab(32.11, 43.57, -23.39)
CIE-LCHlch(32.11, 49.45, 331.77°)
OKLaboklab(43.3% 0.1254 -0.064)
OKLCHoklch(43.3% 0.141 333)
XYZxyz(12.0129, 7.1319, 16.3635)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2B71 #2B7B35
analogous
#5D2B7B #7B2B71 #7B2B49
triadic
#7B2B71 #717B2B #2B717B
tetradic
#7B2B71 #7B5D2B #2B7B35 #2B497B
square
#7B2B71 #7B5D2B #2B7B35 #2B497B
split-complementary
#7B2B71 #497B2B #2B7B5D
monochromatic
#200B1E #4E1B47 #7B2B71 #A83B9B #C65BB8

Accessibility & contrast

On white

8.66
#7B2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7B2B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2B71
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2B71#FFFFFF#000000##FFFFFF
##7B2B711.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#43506F
Tritanopia (blue-blind)
#80324A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2b71;
/* rgb */ color: rgb(123, 43, 113);
/* oklch */ color: oklch(43.3% 0.141 333.0);
Tailwind
colors: {
  custom: {
    50: '#a46a9a',
    500: '#7b2b71',
    950: '#000000',
  },
}
SCSS
$custom: #7b2b71;
$custom-light: #a46a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2b71",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 307.5,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43301,
    "c": 0.14076,
    "h": 333
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#7B2B71
secondary
#56AB61
accent
#D86150
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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