#732271#732271

#732271 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.149 H 328.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#732271
RGBrgb(115, 34, 113)
HSLhsl(301, 54%, 29%)
HSVhsv(301, 70%, 45%)
CMYKcmyk(0%, 70.4%, 1.7%, 54.9%)
CIE-LABlab(29.37, 45.30, -27.79)
CIE-LCHlch(29.37, 53.14, 328.47°)
OKLaboklab(41.05% 0.1272 -0.0767)
OKLCHoklch(41.05% 0.149 328.9)
XYZxyz(10.6228, 5.9819, 16.2147)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732271 #227324
analogous
#4D2273 #732271 #732249
triadic
#732271 #717322 #227173
tetradic
#732271 #734D22 #227324 #224973
square
#732271 #734D22 #227324 #224973
split-complementary
#732271 #497322 #22734D
monochromatic
#180717 #441443 #732271 #A2309F #C947C5

Accessibility & contrast

On white

9.56
#732271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#732271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732271
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732271#FFFFFF#000000##FFFFFF
##7322711.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#772D46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #732271;
/* rgb */ color: rgb(115, 34, 113);
/* oklch */ color: oklch(41.0% 0.149 328.9);
Tailwind
colors: {
  custom: {
    50: '#9e659a',
    500: '#732271',
    950: '#000000',
  },
}
SCSS
$custom: #732271;
$custom-light: #9e659a;
$custom-dark: #000000;
JSON
{
  "hex": "#732271",
  "rgb": {
    "r": 115,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 301.481,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4105,
    "c": 0.14858,
    "h": 328.9
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#732271
secondary
#4BA64D
accent
#DE4E4A
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #732271

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

Preview Lab → · Contrast checker → · Palette generator →

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