#7B1B83#7B1B83

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

Color values

HEX#7B1B83
RGBrgb(123, 27, 131)
HSLhsl(295, 66%, 31%)
HSVhsv(295, 79%, 51%)
CMYKcmyk(6.1%, 79.4%, 0%, 48.6%)
CIE-LABlab(30.96, 52.92, -36.54)
CIE-LCHlch(30.96, 64.31, 325.37°)
OKLaboklab(42.81% 0.1434 -0.1019)
OKLCHoklch(42.81% 0.176 324.6)
XYZxyz(12.6567, 6.6343, 22.0822)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B83 #23831B
analogous
#471B83 #7B1B83 #831B57
triadic
#7B1B83 #837B1B #1B837B
tetradic
#7B1B83 #83471B #23831B #1B5783
square
#7B1B83 #83471B #23831B #1B5783
split-complementary
#7B1B83 #57831B #1B8347
monochromatic
#1C061E #4B1150 #7B1B83 #AB25B6 #CC41D8

Accessibility & contrast

On white

9.03
#7B1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7B1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B83
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B83#FFFFFF#000000##FFFFFF
##7B1B831.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#314D81
Tritanopia (blue-blind)
#7E2F4F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1b83;
/* rgb */ color: rgb(123, 27, 131);
/* oklch */ color: oklch(42.8% 0.176 324.6);
Tailwind
colors: {
  custom: {
    50: '#a564a7',
    500: '#7b1b83',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b83;
$custom-light: #a564a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b83",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 295.385,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4281,
    "c": 0.17589,
    "h": 324.6
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#7B1B83
secondary
#4CB643
accent
#E93F4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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