#732971#732971

#732971 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.139 H 328.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#732971
RGBrgb(115, 41, 113)
HSLhsl(302, 47%, 31%)
HSVhsv(302, 64%, 45%)
CMYKcmyk(0%, 64.3%, 1.7%, 54.9%)
CIE-LABlab(30.46, 42.26, -26.07)
CIE-LCHlch(30.46, 49.65, 328.33°)
OKLaboklab(41.84% 0.1186 -0.0718)
OKLCHoklch(41.84% 0.139 328.8)
XYZxyz(10.8437, 6.4237, 16.2883)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732971 #29732B
analogous
#502973 #732971 #73294C
triadic
#732971 #717329 #297173
tetradic
#732971 #735029 #29732B #294C73
square
#732971 #735029 #29732B #294C73
split-complementary
#732971 #4C7329 #297350
monochromatic
#190918 #461945 #732971 #A0399D #C254BF

Accessibility & contrast

On white

9.19
#732971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#732971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732971
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732971#FFFFFF#000000##FFFFFF
##7329711.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224173
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#773249
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #732971;
/* rgb */ color: rgb(115, 41, 113);
/* oklch */ color: oklch(41.8% 0.139 328.8);
Tailwind
colors: {
  custom: {
    50: '#9e689a',
    500: '#732971',
    950: '#000000',
  },
}
SCSS
$custom: #732971;
$custom-light: #9e689a;
$custom-dark: #000000;
JSON
{
  "hex": "#732971",
  "rgb": {
    "r": 115,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 301.622,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4184,
    "c": 0.13863,
    "h": 328.8
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#732971
secondary
#53A555
accent
#D75451
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #732971

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

Preview Lab → · Contrast checker → · Palette generator →

#732971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva