#7B1370#7B1370

#7B1370 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.168 H 333.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7B1370
RGBrgb(123, 19, 112)
HSLhsl(306, 73%, 28%)
HSVhsv(306, 85%, 48%)
CMYKcmyk(0%, 84.6%, 8.9%, 51.8%)
CIE-LABlab(29.02, 51.97, -27.60)
CIE-LCHlch(29.02, 58.85, 332.03°)
OKLaboklab(41.06% 0.1504 -0.0759)
OKLCHoklch(41.06% 0.168 333.2)
XYZxyz(11.3260, 5.8476, 15.8583)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1370 #137B1E
analogous
#52137B #7B1370 #7B133C
triadic
#7B1370 #707B13 #13707B
tetradic
#7B1370 #7B5213 #137B1E #133C7B
square
#7B1370 #7B5213 #137B1E #133C7B
split-complementary
#7B1370 #3C7B13 #137B52
monochromatic
#1B0418 #460B40 #7B1370 #B01BA0 #DE2ACB

Accessibility & contrast

On white

9.68
#7B1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7B1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1370
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1370#FFFFFF#000000##FFFFFF
##7B13701.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3B72
Deuteranopia (green-blind)
#39496E
Tritanopia (blue-blind)
#812042
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1370;
/* rgb */ color: rgb(123, 19, 112);
/* oklch */ color: oklch(41.1% 0.168 333.2);
Tailwind
colors: {
  custom: {
    50: '#a56099',
    500: '#7b1370',
    950: '#000000',
  },
}
SCSS
$custom: #7b1370;
$custom-light: #a56099;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1370",
  "rgb": {
    "r": 123,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 306.346,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.16841,
    "h": 333.2
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#7B1370
secondary
#39B146
accent
#F04B38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7B1370

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

Preview Lab → · Contrast checker → · Palette generator →

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