#7B1F89#7B1F89

#7B1F89 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.177 H 322.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7B1F89
RGBrgb(123, 31, 137)
HSLhsl(292, 63%, 33%)
HSVhsv(292, 77%, 54%)
CMYKcmyk(10.2%, 77.4%, 0%, 46.3%)
CIE-LABlab(31.80, 52.71, -38.93)
CIE-LCHlch(31.80, 65.53, 323.55°)
OKLaboklab(43.53% 0.1393 -0.1089)
OKLCHoklch(43.53% 0.177 322)
XYZxyz(13.1732, 6.9978, 24.3189)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F89 #2D891F
analogous
#461F89 #7B1F89 #891F62
triadic
#7B1F89 #897B1F #1F897B
tetradic
#7B1F89 #89461F #2D891F #1F6289
square
#7B1F89 #89461F #2D891F #1F6289
split-complementary
#7B1F89 #62891F #1F8946
monochromatic
#210825 #4E1457 #7B1F89 #A82ABB #C44CD6

Accessibility & contrast

On white

8.75
#7B1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7B1F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F89
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F89#FFFFFF#000000##FFFFFF
##7B1F891.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#2E4E87
Tritanopia (blue-blind)
#7C3453
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b1f89;
/* rgb */ color: rgb(123, 31, 137);
/* oklch */ color: oklch(43.5% 0.177 322.0);
Tailwind
colors: {
  custom: {
    50: '#a566ac',
    500: '#7b1f89',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f89;
$custom-light: #a566ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f89",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 292.075,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43532,
    "c": 0.17684,
    "h": 322
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#7B1F89
secondary
#59B94B
accent
#E64257
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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