#7B2391#7B2391

#7B2391 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.180 H 318.7°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7B2391
RGBrgb(123, 35, 145)
HSLhsl(288, 61%, 35%)
HSVhsv(288, 76%, 57%)
CMYKcmyk(15.2%, 75.9%, 0%, 43.1%)
CIE-LABlab(32.83, 52.84, -42.22)
CIE-LCHlch(32.83, 67.63, 321.37°)
OKLaboklab(44.43% 0.1348 -0.1186)
OKLCHoklch(44.43% 0.18 318.7)
XYZxyz(13.8796, 7.4580, 27.4910)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2391 #399123
analogous
#442391 #7B2391 #912370
triadic
#7B2391 #917B23 #23917B
tetradic
#7B2391 #914423 #399123 #237091
square
#7B2391 #914423 #399123 #237091
split-complementary
#7B2391 #709123 #239144
monochromatic
#270B2E #511760 #7B2391 #A52FC2 #BD58D7

Accessibility & contrast

On white

8.43
#7B2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2391
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2391#FFFFFF#000000##FFFFFF
##7B23911.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#2A508F
Tritanopia (blue-blind)
#7B3A58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2391;
/* rgb */ color: rgb(123, 35, 145);
/* oklch */ color: oklch(44.4% 0.180 318.7);
Tailwind
colors: {
  custom: {
    50: '#a568b2',
    500: '#7b2391',
    950: '#000000',
  },
}
SCSS
$custom: #7b2391;
$custom-light: #a568b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2391",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 288,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44429,
    "c": 0.17951,
    "h": 318.7
  },
  "luminance": 0.07457
}

Semantic roles & 50–950 ramp

primary
#7B2391
secondary
#69BB55
accent
#E44464
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2391

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

Preview Lab → · Contrast checker → · Palette generator →

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