#7D1674#7D1674

#7D1674 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.170 H 332.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7D1674
RGBrgb(125, 22, 116)
HSLhsl(305, 70%, 29%)
HSVhsv(305, 82%, 49%)
CMYKcmyk(0%, 82.4%, 7.2%, 51%)
CIE-LABlab(29.90, 52.26, -28.74)
CIE-LCHlch(29.90, 59.64, 331.19°)
OKLaboklab(41.83% 0.1502 -0.0791)
OKLCHoklch(41.83% 0.17 332.2)
XYZxyz(11.8968, 6.1958, 17.0889)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1674 #167D1F
analogous
#53167D #7D1674 #7D1641
triadic
#7D1674 #747D16 #16747D
tetradic
#7D1674 #7D5316 #167D1F #16417D
square
#7D1674 #7D5316 #167D1F #16417D
split-complementary
#7D1674 #417D16 #167D53
monochromatic
#1A0518 #490D44 #7D1674 #B11FA4 #DB32CC

Accessibility & contrast

On white

9.38
#7D1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7D1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1674
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1674#FFFFFF#000000##FFFFFF
##7D16741.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D76
Deuteranopia (green-blind)
#3A4B72
Tritanopia (blue-blind)
#832345
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1674;
/* rgb */ color: rgb(125, 22, 116);
/* oklch */ color: oklch(41.8% 0.170 332.2);
Tailwind
colors: {
  custom: {
    50: '#a6629c',
    500: '#7d1674',
    950: '#000000',
  },
}
SCSS
$custom: #7d1674;
$custom-light: #a6629c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1674",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 305.243,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41832,
    "c": 0.16979,
    "h": 332.2
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#7D1674
secondary
#3DB247
accent
#ED4A3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1674

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

Preview Lab → · Contrast checker → · Palette generator →

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