#7B1470#7B1470

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

Color values

HEX#7B1470
RGBrgb(123, 20, 112)
HSLhsl(306, 72%, 28%)
HSVhsv(306, 84%, 48%)
CMYKcmyk(0%, 83.7%, 8.9%, 51.8%)
CIE-LABlab(29.11, 51.72, -27.46)
CIE-LCHlch(29.11, 58.56, 332.03°)
OKLaboklab(41.13% 0.1496 -0.0755)
OKLCHoklch(41.13% 0.168 333.2)
XYZxyz(11.3433, 5.8821, 15.8640)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1470 #147B1F
analogous
#52147B #7B1470 #7B143C
triadic
#7B1470 #707B14 #14707B
tetradic
#7B1470 #7B5214 #147B1F #143C7B
square
#7B1470 #7B5214 #147B1F #143C7B
split-complementary
#7B1470 #3C7B14 #147B52
monochromatic
#1A0418 #460B40 #7B1470 #B01DA0 #DD2DCA

Accessibility & contrast

On white

9.65
#7B1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7B1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1470
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1470#FFFFFF#000000##FFFFFF
##7B14701.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B72
Deuteranopia (green-blind)
#3A4A6E
Tritanopia (blue-blind)
#812142
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1470;
/* rgb */ color: rgb(123, 20, 112);
/* oklch */ color: oklch(41.1% 0.168 333.2);
Tailwind
colors: {
  custom: {
    50: '#a56099',
    500: '#7b1470',
    950: '#000000',
  },
}
SCSS
$custom: #7b1470;
$custom-light: #a56099;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1470",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 306.408,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41125,
    "c": 0.16756,
    "h": 333.2
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#7B1470
secondary
#3AB147
accent
#EF4C39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7B1470

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

Preview Lab → · Contrast checker → · Palette generator →

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