#7D288A#7D288A

#7D288A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.168 H 322.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7D288A
RGBrgb(125, 40, 138)
HSLhsl(292, 55%, 35%)
HSVhsv(292, 71%, 54%)
CMYKcmyk(9.4%, 71%, 0%, 45.9%)
CIE-LABlab(33.38, 49.98, -37.01)
CIE-LCHlch(33.38, 62.19, 323.48°)
OKLaboklab(44.74% 0.1326 -0.1033)
OKLCHoklch(44.74% 0.168 322.1)
XYZxyz(13.8032, 7.7133, 24.8016)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D288A #358A28
analogous
#4C288A #7D288A #8A2866
triadic
#7D288A #8A7D28 #288A7D
tetradic
#7D288A #8A4C28 #358A28 #28668A
square
#7D288A #8A4C28 #358A28 #28668A
split-complementary
#7D288A #668A28 #288A4C
monochromatic
#270C2B #521A5B #7D288A #A836B9 #C15DD0

Accessibility & contrast

On white

8.26
#7D288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7D288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D288A
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D288A#FFFFFF#000000##FFFFFF
##7D288A1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05488D
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#7E3956
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d288a;
/* rgb */ color: rgb(125, 40, 138);
/* oklch */ color: oklch(44.7% 0.168 322.1);
Tailwind
colors: {
  custom: {
    50: '#a66aad',
    500: '#7d288a',
    950: '#000000',
  },
}
SCSS
$custom: #7d288a;
$custom-light: #a66aad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d288a",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 292.041,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44742,
    "c": 0.16809,
    "h": 322.1
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#7D288A
secondary
#65B559
accent
#DE495D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D288A

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

Preview Lab → · Contrast checker → · Palette generator →

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