#7B1A83#7B1A83

#7B1A83 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.177 H 324.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7B1A83
RGBrgb(123, 26, 131)
HSLhsl(295, 67%, 31%)
HSVhsv(295, 80%, 51%)
CMYKcmyk(6.1%, 80.2%, 0%, 48.6%)
CIE-LABlab(30.85, 53.22, -36.71)
CIE-LCHlch(30.85, 64.66, 325.40°)
OKLaboklab(42.73% 0.1442 -0.1024)
OKLCHoklch(42.73% 0.177 324.6)
XYZxyz(12.6342, 6.5893, 22.0747)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A83 #22831A
analogous
#471A83 #7B1A83 #831A56
triadic
#7B1A83 #837B1A #1A837B
tetradic
#7B1A83 #83471A #22831A #1A5683
square
#7B1A83 #83471A #22831A #1A5683
split-complementary
#7B1A83 #56831A #1A8347
monochromatic
#1B061D #4B1050 #7B1A83 #AB24B6 #CD3FD9

Accessibility & contrast

On white

9.06
#7B1A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7B1A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A83
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A83#FFFFFF#000000##FFFFFF
##7B1A831.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#304C81
Tritanopia (blue-blind)
#7E2E4E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1a83;
/* rgb */ color: rgb(123, 26, 131);
/* oklch */ color: oklch(42.7% 0.177 324.6);
Tailwind
colors: {
  custom: {
    50: '#a563a7',
    500: '#7b1a83',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a83;
$custom-light: #a563a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a83",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 295.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42734,
    "c": 0.17687,
    "h": 324.6
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#7B1A83
secondary
#4BB742
accent
#EA3E4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1A83

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

Preview Lab → · Contrast checker → · Palette generator →

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