#7D2674#7D2674

#7D2674 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.152 H 332.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7D2674
RGBrgb(125, 38, 116)
HSLhsl(306, 53%, 32%)
HSVhsv(306, 70%, 49%)
CMYKcmyk(0%, 69.6%, 7.2%, 51%)
CIE-LABlab(31.83, 46.78, -25.71)
CIE-LCHlch(31.83, 53.38, 331.21°)
OKLaboklab(43.22% 0.1343 -0.0705)
OKLCHoklch(43.22% 0.152 332.3)
XYZxyz(12.3030, 7.0081, 17.2243)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2674 #267D2F
analogous
#5B267D #7D2674 #7D2649
triadic
#7D2674 #747D26 #26747D
tetradic
#7D2674 #7D5B26 #267D2F #26497D
square
#7D2674 #7D5B26 #267D2F #26497D
split-complementary
#7D2674 #497D26 #267D5B
monochromatic
#1F091D #4E1848 #7D2674 #AC34A0 #CB53BE

Accessibility & contrast

On white

8.74
#7D2674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7D2674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2674
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2674#FFFFFF#000000##FFFFFF
##7D26741.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#414F72
Tritanopia (blue-blind)
#822E49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2674;
/* rgb */ color: rgb(125, 38, 116);
/* oklch */ color: oklch(43.2% 0.152 332.3);
Tailwind
colors: {
  custom: {
    50: '#a6689c',
    500: '#7d2674',
    950: '#000000',
  },
}
SCSS
$custom: #7d2674;
$custom-light: #a6689c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2674",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 306.207,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43215,
    "c": 0.15165,
    "h": 332.3
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#7D2674
secondary
#50AF5A
accent
#DD5A4B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2674

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

Preview Lab → · Contrast checker → · Palette generator →

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