#7B1A73#7B1A73

#7B1A73 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.164 H 331.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7B1A73
RGBrgb(123, 26, 115)
HSLhsl(305, 65%, 29%)
HSVhsv(305, 79%, 48%)
CMYKcmyk(0%, 78.9%, 6.5%, 51.8%)
CIE-LABlab(29.88, 50.47, -28.16)
CIE-LCHlch(29.88, 57.80, 330.84°)
OKLaboklab(41.73% 0.1446 -0.0775)
OKLCHoklch(41.73% 0.164 331.8)
XYZxyz(11.6323, 6.1885, 16.7982)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A73 #1A7B22
analogous
#531A7B #7B1A73 #7B1A43
triadic
#7B1A73 #737B1A #1A737B
tetradic
#7B1A73 #7B531A #1A7B22 #1A437B
square
#7B1A73 #7B531A #1A7B22 #1A437B
split-complementary
#7B1A73 #437B1A #1A7B53
monochromatic
#190518 #480F44 #7B1A73 #AE25A2 #D53AC9

Accessibility & contrast

On white

9.39
#7B1A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B1A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A73
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A73#FFFFFF#000000##FFFFFF
##7B1A731.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#802645
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1a73;
/* rgb */ color: rgb(123, 26, 115);
/* oklch */ color: oklch(41.7% 0.164 331.8);
Tailwind
colors: {
  custom: {
    50: '#a5639b',
    500: '#7b1a73',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a73;
$custom-light: #a5639b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a73",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 304.948,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41731,
    "c": 0.1641,
    "h": 331.8
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#7B1A73
secondary
#42AF4B
accent
#E84E40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1A73

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

Preview Lab → · Contrast checker → · Palette generator →

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