#7B2E71#7B2E71

#7B2E71 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.7% C 0.136 H 333.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7B2E71
RGBrgb(123, 46, 113)
HSLhsl(308, 46%, 33%)
HSVhsv(308, 63%, 48%)
CMYKcmyk(0%, 62.6%, 8.1%, 51.8%)
CIE-LABlab(32.61, 42.19, -22.61)
CIE-LCHlch(32.61, 47.86, 331.81°)
OKLaboklab(43.67% 0.1214 -0.0617)
OKLCHoklch(43.67% 0.136 333)
XYZxyz(12.1260, 7.3581, 16.4012)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E71 #2E7B38
analogous
#5E2E7B #7B2E71 #7B2E4A
triadic
#7B2E71 #717B2E #2E717B
tetradic
#7B2E71 #7B5E2E #2E7B38 #2E4A7B
square
#7B2E71 #7B5E2E #2E7B38 #2E4A7B
split-complementary
#7B2E71 #4A7B2E #2E7B5E
monochromatic
#220D1F #4E1D48 #7B2E71 #A83F9A #C360B7

Accessibility & contrast

On white

8.50
#7B2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2E71
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E71#FFFFFF#000000##FFFFFF
##7B2E711.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#44516F
Tritanopia (blue-blind)
#80344B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2e71;
/* rgb */ color: rgb(123, 46, 113);
/* oklch */ color: oklch(43.7% 0.136 333.0);
Tailwind
colors: {
  custom: {
    50: '#a46c9a',
    500: '#7b2e71',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e71;
$custom-light: #a46c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e71",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 307.792,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43669,
    "c": 0.13616,
    "h": 333
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#7B2E71
secondary
#5BAA65
accent
#D56453
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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