#7D2374#7D2374

#7D2374 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.156 H 332.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7D2374
RGBrgb(125, 35, 116)
HSLhsl(306, 56%, 31%)
HSVhsv(306, 72%, 49%)
CMYKcmyk(0%, 72%, 7.2%, 51%)
CIE-LABlab(31.40, 47.97, -26.37)
CIE-LCHlch(31.40, 54.74, 331.20°)
OKLaboklab(42.91% 0.1377 -0.0724)
OKLCHoklch(42.91% 0.156 332.3)
XYZxyz(12.2109, 6.8240, 17.1936)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2374 #237D2C
analogous
#59237D #7D2374 #7D2347
triadic
#7D2374 #747D23 #23747D
tetradic
#7D2374 #7D5923 #237D2C #23477D
square
#7D2374 #7D5923 #237D2C #23477D
split-complementary
#7D2374 #477D23 #237D59
monochromatic
#1D081B #4D1648 #7D2374 #AD30A0 #CD4DC0

Accessibility & contrast

On white

8.88
#7D2374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D2374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2374
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2374#FFFFFF#000000##FFFFFF
##7D23741.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4276
Deuteranopia (green-blind)
#3F4E72
Tritanopia (blue-blind)
#822C48
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2374;
/* rgb */ color: rgb(125, 35, 116);
/* oklch */ color: oklch(42.9% 0.156 332.3);
Tailwind
colors: {
  custom: {
    50: '#a6679c',
    500: '#7d2374',
    950: '#000000',
  },
}
SCSS
$custom: #7d2374;
$custom-light: #a6679c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2374",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 306,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42909,
    "c": 0.15559,
    "h": 332.3
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#7D2374
secondary
#4CAF56
accent
#E05748
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2374

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

Preview Lab → · Contrast checker → · Palette generator →

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