#7D2291#7D2291

#7D2291 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.181 H 319.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7D2291
RGBrgb(125, 34, 145)
HSLhsl(289, 62%, 35%)
HSVhsv(289, 77%, 57%)
CMYKcmyk(13.8%, 76.6%, 0%, 43.1%)
CIE-LABlab(33.03, 53.62, -41.89)
CIE-LCHlch(33.03, 68.04, 322.00°)
OKLaboklab(44.63% 0.1382 -0.1175)
OKLCHoklch(44.63% 0.181 319.6)
XYZxyz(14.1397, 7.5491, 27.4949)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2291 #369122
analogous
#452291 #7D2291 #91226E
triadic
#7D2291 #917D22 #22917D
tetradic
#7D2291 #914522 #369122 #226E91
square
#7D2291 #914522 #369122 #226E91
split-complementary
#7D2291 #6E9122 #229145
monochromatic
#280B2E #52165F #7D2291 #A82EC3 #C056D7

Accessibility & contrast

On white

8.37
#7D2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7D2291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2291
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2291#FFFFFF#000000##FFFFFF
##7D22911.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#2B518F
Tritanopia (blue-blind)
#7D3958
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2291;
/* rgb */ color: rgb(125, 34, 145);
/* oklch */ color: oklch(44.6% 0.181 319.6);
Tailwind
colors: {
  custom: {
    50: '#a668b2',
    500: '#7d2291',
    950: '#000000',
  },
}
SCSS
$custom: #7d2291;
$custom-light: #a668b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2291",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 289.189,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44634,
    "c": 0.18142,
    "h": 319.6
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#7D2291
secondary
#66BB53
accent
#E54360
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2291

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

Preview Lab → · Contrast checker → · Palette generator →

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