#7B1F73#7B1F73

#7B1F73 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.159 H 331.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7B1F73
RGBrgb(123, 31, 115)
HSLhsl(305, 60%, 30%)
HSVhsv(305, 75%, 48%)
CMYKcmyk(0%, 74.8%, 6.5%, 51.8%)
CIE-LABlab(30.47, 48.79, -27.23)
CIE-LCHlch(30.47, 55.87, 330.84°)
OKLaboklab(42.15% 0.1398 -0.0749)
OKLCHoklch(42.15% 0.159 331.8)
XYZxyz(11.7529, 6.4297, 16.8384)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F73 #1F7B27
analogous
#551F7B #7B1F73 #7B1F45
triadic
#7B1F73 #737B1F #1F737B
tetradic
#7B1F73 #7B551F #1F7B27 #1F457B
square
#7B1F73 #7B551F #1F7B27 #1F457B
split-complementary
#7B1F73 #457B1F #1F7B55
monochromatic
#190618 #4A1345 #7B1F73 #AC2BA1 #D044C4

Accessibility & contrast

On white

9.19
#7B1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7B1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F73
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F73#FFFFFF#000000##FFFFFF
##7B1F731.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F75
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#802947
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b1f73;
/* rgb */ color: rgb(123, 31, 115);
/* oklch */ color: oklch(42.2% 0.159 331.8);
Tailwind
colors: {
  custom: {
    50: '#a4659b',
    500: '#7b1f73',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f73;
$custom-light: #a4659b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f73",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 305.217,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42153,
    "c": 0.15855,
    "h": 331.8
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#7B1F73
secondary
#48AE50
accent
#E35345
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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