#7B1A9F#7B1A9F

#7B1A9F is a dark, highly saturated purple. Relative luminance 0.075; OKLCH L 44.7% C 0.200 H 314.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7B1A9F
RGBrgb(123, 26, 159)
HSLhsl(284, 72%, 36%)
HSVhsv(284, 84%, 62%)
CMYKcmyk(22.6%, 83.6%, 0%, 37.6%)
CIE-LABlab(32.82, 58.54, -50.79)
CIE-LCHlch(32.82, 77.50, 319.06°)
OKLaboklab(44.74% 0.1398 -0.1437)
OKLCHoklch(44.74% 0.2 314.2)
XYZxyz(14.7947, 7.4535, 33.4535)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A9F #3E9F1A
analogous
#381A9F #7B1A9F #9F1A81
triadic
#7B1A9F #9F7B1A #1A9F7B
tetradic
#7B1A9F #9F381A #3E9F1A #1A819F
square
#7B1A9F #9F381A #3E9F1A #1A819F
split-complementary
#7B1A9F #819F1A #1A9F38
monochromatic
#2A0936 #52116A #7B1A9F #A423D4 #BB51E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1A9F#FFFFFF#000000##FFFFFF
##7B1A9F1.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)
#0048A2
Deuteranopia (green-blind)
#094F9C
Tritanopia (blue-blind)
#773C5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b1a9f;
/* rgb */ color: rgb(123, 26, 159);
/* oklch */ color: oklch(44.7% 0.200 314.2);
Tailwind
colors: {
  custom: {
    50: '#a665bc',
    500: '#7b1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a9f;
$custom-light: #a665bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a9f",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 283.759,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44739,
    "c": 0.20048,
    "h": 314.2
  },
  "luminance": 0.07453
}

Semantic roles & 50–950 ramp

primary
#7B1A9F
secondary
#6FC550
accent
#EF396A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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