#7B3571#7B3571

#7B3571 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.6% C 0.125 H 333.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7B3571
RGBrgb(123, 53, 113)
HSLhsl(309, 40%, 35%)
HSVhsv(309, 57%, 48%)
CMYKcmyk(0%, 56.9%, 8.1%, 51.8%)
CIE-LABlab(33.88, 38.74, -20.63)
CIE-LCHlch(33.88, 43.89, 331.97°)
OKLaboklab(44.6% 0.1114 -0.0562)
OKLCHoklch(44.6% 0.125 333.2)
XYZxyz(12.4221, 7.9503, 16.4999)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3571 #357B3F
analogous
#62357B #7B3571 #7B354E
triadic
#7B3571 #717B35 #35717B
tetradic
#7B3571 #7B6235 #357B3F #354E7B
square
#7B3571 #7B6235 #357B3F #354E7B
split-complementary
#7B3571 #4E7B35 #357B62
monochromatic
#251022 #50234A #7B3571 #A64798 #BF6BB3

Accessibility & contrast

On white

8.11
#7B3571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7B3571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3571
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3571#FFFFFF#000000##FFFFFF
##7B35711.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344973
Deuteranopia (green-blind)
#49536F
Tritanopia (blue-blind)
#803A4E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b3571;
/* rgb */ color: rgb(123, 53, 113);
/* oklch */ color: oklch(44.6% 0.125 333.2);
Tailwind
colors: {
  custom: {
    50: '#a3709a',
    500: '#7b3571',
    950: '#000000',
  },
}
SCSS
$custom: #7b3571;
$custom-light: #a3709a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3571",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 308.571,
    "s": 39.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44602,
    "c": 0.12472,
    "h": 333.2
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#7B3571
secondary
#64A86E
accent
#D06958
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F080E
muted
#7F7B7E

Preview Lab

Preview with #7B3571

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

Preview Lab → · Contrast checker → · Palette generator →

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