#7B1B9F#7B1B9F

#7B1B9F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.8% C 0.200 H 314.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7B1B9F
RGBrgb(123, 27, 159)
HSLhsl(284, 71%, 36%)
HSVhsv(284, 83%, 62%)
CMYKcmyk(22.6%, 83%, 0%, 37.6%)
CIE-LABlab(32.92, 58.26, -50.63)
CIE-LCHlch(32.92, 77.18, 319.01°)
OKLaboklab(44.81% 0.1391 -0.1432)
OKLCHoklch(44.81% 0.2 314.2)
XYZxyz(14.8172, 7.4985, 33.4610)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B9F #3F9F1B
analogous
#391B9F #7B1B9F #9F1B81
triadic
#7B1B9F #9F7B1B #1B9F7B
tetradic
#7B1B9F #9F391B #3F9F1B #1B819F
square
#7B1B9F #9F391B #3F9F1B #1B819F
split-complementary
#7B1B9F #819F1B #1B9F39
monochromatic
#2A0936 #53126B #7B1B9F #A324D3 #BB53E2

Accessibility & contrast

On white

8.40
#7B1B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7B1B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B9F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B9F#FFFFFF#000000##FFFFFF
##7B1B9F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#0A509C
Tritanopia (blue-blind)
#773C5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b1b9f;
/* rgb */ color: rgb(123, 27, 159);
/* oklch */ color: oklch(44.8% 0.200 314.2);
Tailwind
colors: {
  custom: {
    50: '#a665bc',
    500: '#7b1b9f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b9f;
$custom-light: #a665bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b9f",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 283.636,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44808,
    "c": 0.19965,
    "h": 314.2
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#7B1B9F
secondary
#71C551
accent
#EE3A6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B1B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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