#7B2471#7B2471

#7B2471 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.151 H 332.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7B2471
RGBrgb(123, 36, 113)
HSLhsl(307, 55%, 31%)
HSVhsv(307, 71%, 48%)
CMYKcmyk(0%, 70.7%, 8.1%, 51.8%)
CIE-LABlab(31.03, 46.56, -25.07)
CIE-LCHlch(31.03, 52.88, 331.70°)
OKLaboklab(42.52% 0.1341 -0.0687)
OKLCHoklch(42.52% 0.151 332.9)
XYZxyz(11.7799, 6.6659, 16.2858)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2471 #247B2E
analogous
#59247B #7B2471 #7B2445
triadic
#7B2471 #717B24 #24717B
tetradic
#7B2471 #7B5924 #247B2E #24457B
square
#7B2471 #7B5924 #247B2E #24457B
split-complementary
#7B2471 #457B24 #247B59
monochromatic
#1C081A #4C1646 #7B2471 #AA329C #CB4EBD

Accessibility & contrast

On white

9.00
#7B2471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7B2471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2471
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2471#FFFFFF#000000##FFFFFF
##7B24711.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#812C47
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b2471;
/* rgb */ color: rgb(123, 36, 113);
/* oklch */ color: oklch(42.5% 0.151 332.9);
Tailwind
colors: {
  custom: {
    50: '#a4679a',
    500: '#7b2471',
    950: '#000000',
  },
}
SCSS
$custom: #7b2471;
$custom-light: #a4679a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2471",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 306.897,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42523,
    "c": 0.15066,
    "h": 332.9
  },
  "luminance": 0.06665
}

Semantic roles & 50–950 ramp

primary
#7B2471
secondary
#4DAD58
accent
#DE5B4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B2471

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

Preview Lab → · Contrast checker → · Palette generator →

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