#7B1675#7B1675

#7B1675 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.170 H 330.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7B1675
RGBrgb(123, 22, 117)
HSLhsl(304, 70%, 28%)
HSVhsv(304, 82%, 48%)
CMYKcmyk(0%, 82.1%, 4.9%, 51.8%)
CIE-LABlab(29.59, 51.98, -29.90)
CIE-LCHlch(29.59, 59.97, 330.10°)
OKLaboklab(41.56% 0.1481 -0.0825)
OKLCHoklch(41.56% 0.17 330.9)
XYZxyz(11.6662, 6.0701, 17.3834)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1675 #167B1C
analogous
#4E167B #7B1675 #7B1642
triadic
#7B1675 #757B16 #16757B
tetradic
#7B1675 #7B4E16 #167B1C #16427B
square
#7B1675 #7B4E16 #167B1C #16427B
split-complementary
#7B1675 #427B16 #167B4E
monochromatic
#1A0519 #470D44 #7B1675 #AF1FA6 #DA31D0

Accessibility & contrast

On white

9.49
#7B1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7B1675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1675
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1675#FFFFFF#000000##FFFFFF
##7B16751.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073D77
Deuteranopia (green-blind)
#384A73
Tritanopia (blue-blind)
#802546
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1675;
/* rgb */ color: rgb(123, 22, 117);
/* oklch */ color: oklch(41.6% 0.170 330.9);
Tailwind
colors: {
  custom: {
    50: '#a5619d',
    500: '#7b1675',
    950: '#000000',
  },
}
SCSS
$custom: #7b1675;
$custom-light: #a5619d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1675",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 303.564,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41558,
    "c": 0.16953,
    "h": 330.9
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#7B1675
secondary
#3DB044
accent
#EC463B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1675

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

Preview Lab → · Contrast checker → · Palette generator →

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