#7B1670#7B1670

#7B1670 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.166 H 333.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7B1670
RGBrgb(123, 22, 112)
HSLhsl(307, 70%, 28%)
HSVhsv(307, 82%, 48%)
CMYKcmyk(0%, 82.1%, 8.9%, 51.8%)
CIE-LABlab(29.30, 51.18, -27.16)
CIE-LCHlch(29.30, 57.94, 332.04°)
OKLaboklab(41.26% 0.148 -0.0746)
OKLCHoklch(41.26% 0.166 333.2)
XYZxyz(11.3800, 5.9556, 15.8763)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1670 #167B21
analogous
#53167B #7B1670 #7B163D
triadic
#7B1670 #707B16 #16707B
tetradic
#7B1670 #7B5316 #167B21 #163D7B
square
#7B1670 #7B5316 #167B21 #163D7B
split-complementary
#7B1670 #3D7B16 #167B53
monochromatic
#1A0518 #470D41 #7B1670 #AF1F9F #DA31C8

Accessibility & contrast

On white

9.58
#7B1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7B1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1670
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1670#FFFFFF#000000##FFFFFF
##7B16701.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C72
Deuteranopia (green-blind)
#3A4A6E
Tritanopia (blue-blind)
#812243
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1670;
/* rgb */ color: rgb(123, 22, 112);
/* oklch */ color: oklch(41.3% 0.166 333.2);
Tailwind
colors: {
  custom: {
    50: '#a56199',
    500: '#7b1670',
    950: '#000000',
  },
}
SCSS
$custom: #7b1670;
$custom-light: #a56199;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1670",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 306.535,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41259,
    "c": 0.16576,
    "h": 333.2
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#7B1670
secondary
#3DB049
accent
#EC4F3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1670

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

Preview Lab → · Contrast checker → · Palette generator →

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