#7B1C99#7B1C99

#7B1C99 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.194 H 316.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7B1C99
RGBrgb(123, 28, 153)
HSLhsl(286, 69%, 35%)
HSVhsv(286, 82%, 60%)
CMYKcmyk(19.6%, 81.7%, 0%, 40%)
CIE-LABlab(32.57, 56.77, -47.53)
CIE-LCHlch(32.57, 74.04, 320.06°)
OKLaboklab(44.43% 0.1396 -0.1341)
OKLCHoklch(44.43% 0.194 316.1)
XYZxyz(14.3325, 7.3420, 30.7930)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C99 #3A991C
analogous
#3C1C99 #7B1C99 #991C78
triadic
#7B1C99 #997B1C #1C997B
tetradic
#7B1C99 #993C1C #3A991C #1C7899
square
#7B1C99 #993C1C #3A991C #1C7899
split-complementary
#7B1C99 #78991C #1C993C
monochromatic
#280932 #511365 #7B1C99 #A525CD #BD50DF

Accessibility & contrast

On white

8.51
#7B1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7B1C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C99
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C99#FFFFFF#000000##FFFFFF
##7B1C991.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#1A4F96
Tritanopia (blue-blind)
#793A5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b1c99;
/* rgb */ color: rgb(123, 28, 153);
/* oklch */ color: oklch(44.4% 0.194 316.1);
Tailwind
colors: {
  custom: {
    50: '#a565b8',
    500: '#7b1c99',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c99;
$custom-light: #a565b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c99",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 285.6,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44428,
    "c": 0.1936,
    "h": 316.1
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#7B1C99
secondary
#6BC24F
accent
#EC3C66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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