#7B1674#7B1674

#7B1674 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.169 H 331.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7B1674
RGBrgb(123, 22, 116)
HSLhsl(304, 70%, 28%)
HSVhsv(304, 82%, 48%)
CMYKcmyk(0%, 82.1%, 5.7%, 51.8%)
CIE-LABlab(29.53, 51.82, -29.35)
CIE-LCHlch(29.53, 59.56, 330.47°)
OKLaboklab(41.5% 0.1481 -0.081)
OKLCHoklch(41.5% 0.169 331.3)
XYZxyz(11.6077, 6.0467, 17.0754)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1674 #167B1D
analogous
#4F167B #7B1674 #7B1641
triadic
#7B1674 #747B16 #16747B
tetradic
#7B1674 #7B4F16 #167B1D #16417B
square
#7B1674 #7B4F16 #167B1D #16417B
split-complementary
#7B1674 #417B16 #167B4F
monochromatic
#1A0518 #470D43 #7B1674 #AF1FA5 #DA31CE

Accessibility & contrast

On white

9.51
#7B1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1674
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1674#FFFFFF#000000##FFFFFF
##7B16741.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D76
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#802445
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1674;
/* rgb */ color: rgb(123, 22, 116);
/* oklch */ color: oklch(41.5% 0.169 331.3);
Tailwind
colors: {
  custom: {
    50: '#a5619c',
    500: '#7b1674',
    950: '#000000',
  },
}
SCSS
$custom: #7b1674;
$custom-light: #a5619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1674",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 304.158,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41497,
    "c": 0.16877,
    "h": 331.3
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#7B1674
secondary
#3DB045
accent
#EC483B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1674

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

Preview Lab → · Contrast checker → · Palette generator →

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