#732172#732172

#732172 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.151 H 328.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#732172
RGBrgb(115, 33, 114)
HSLhsl(301, 55%, 29%)
HSVhsv(301, 71%, 45%)
CMYKcmyk(0%, 71.3%, 0.9%, 54.9%)
CIE-LABlab(29.28, 45.88, -28.56)
CIE-LCHlch(29.28, 54.05, 328.09°)
OKLaboklab(41.01% 0.1284 -0.079)
OKLCHoklch(41.01% 0.151 328.4)
XYZxyz(10.6512, 5.9482, 16.5034)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732172 #217322
analogous
#4B2173 #732172 #732149
triadic
#732172 #727321 #217273
tetradic
#732172 #734B21 #217322 #214973
square
#732172 #734B21 #217322 #214973
split-complementary
#732172 #497321 #21734B
monochromatic
#180718 #431343 #732172 #A32FA1 #CA45C8

Accessibility & contrast

On white

9.59
#732172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#732172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732172
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732172#FFFFFF#000000##FFFFFF
##7321721.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E74
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#772C47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #732172;
/* rgb */ color: rgb(115, 33, 114);
/* oklch */ color: oklch(41.0% 0.151 328.4);
Tailwind
colors: {
  custom: {
    50: '#9e649b',
    500: '#732172',
    950: '#000000',
  },
}
SCSS
$custom: #732172;
$custom-light: #9e649b;
$custom-dark: #000000;
JSON
{
  "hex": "#732172",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 300.732,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41008,
    "c": 0.15075,
    "h": 328.4
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#732172
secondary
#49A64B
accent
#DF4B49
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #732172

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

Preview Lab → · Contrast checker → · Palette generator →

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