#7D2999#7D2999

#7D2999 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.181 H 316.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7D2999
RGBrgb(125, 41, 153)
HSLhsl(285, 58%, 38%)
HSVhsv(285, 73%, 60%)
CMYKcmyk(18.3%, 73.2%, 0%, 40%)
CIE-LABlab(34.49, 52.56, -44.42)
CIE-LCHlch(34.49, 68.82, 319.80°)
OKLaboklab(45.85% 0.1305 -0.125)
OKLCHoklch(45.85% 0.181 316.2)
XYZxyz(14.9993, 8.2464, 30.9324)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2999 #459929
analogous
#452999 #7D2999 #99297D
triadic
#7D2999 #997D29 #29997D
tetradic
#7D2999 #994529 #459929 #297D99
square
#7D2999 #994529 #459929 #297D99
split-complementary
#7D2999 #7D9929 #299945
monochromatic
#2E0F38 #561C69 #7D2999 #A436C9 #BA66D6

Accessibility & contrast

On white

7.93
#7D2999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D2999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2999
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2999#FFFFFF#000000##FFFFFF
##7D29991.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#295396
Tritanopia (blue-blind)
#7B405E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2999;
/* rgb */ color: rgb(125, 41, 153);
/* oklch */ color: oklch(45.8% 0.181 316.2);
Tailwind
colors: {
  custom: {
    50: '#a66bb8',
    500: '#7d2999',
    950: '#000000',
  },
}
SCSS
$custom: #7d2999;
$custom-light: #a66bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2999",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 285,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45847,
    "c": 0.1807,
    "h": 316.2
  },
  "luminance": 0.08246
}

Semantic roles & 50–950 ramp

primary
#7D2999
secondary
#78BC62
accent
#E1476D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2999

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

Preview Lab → · Contrast checker → · Palette generator →

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