#732771#732771

#732771 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.6% C 0.142 H 328.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#732771
RGBrgb(115, 39, 113)
HSLhsl(302, 49%, 30%)
HSVhsv(302, 66%, 45%)
CMYKcmyk(0%, 66.1%, 1.7%, 54.9%)
CIE-LABlab(30.13, 43.16, -26.59)
CIE-LCHlch(30.13, 50.69, 328.37°)
OKLaboklab(41.6% 0.1212 -0.0733)
OKLCHoklch(41.6% 0.142 328.8)
XYZxyz(10.7763, 6.2889, 16.2659)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732771 #277329
analogous
#4F2773 #732771 #73274B
triadic
#732771 #717327 #277173
tetradic
#732771 #734F27 #277329 #274B73
square
#732771 #734F27 #277329 #274B73
split-complementary
#732771 #4B7327 #27734F
monochromatic
#180817 #451844 #732771 #A1369E #C451C1

Accessibility & contrast

On white

9.30
#732771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#732771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732771
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732771#FFFFFF#000000##FFFFFF
##7327711.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4073
Deuteranopia (green-blind)
#3A4B6F
Tritanopia (blue-blind)
#773048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #732771;
/* rgb */ color: rgb(115, 39, 113);
/* oklch */ color: oklch(41.6% 0.142 328.8);
Tailwind
colors: {
  custom: {
    50: '#9e679a',
    500: '#732771',
    950: '#000000',
  },
}
SCSS
$custom: #732771;
$custom-light: #9e679a;
$custom-dark: #000000;
JSON
{
  "hex": "#732771",
  "rgb": {
    "r": 115,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 301.579,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41602,
    "c": 0.1416,
    "h": 328.8
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#732771
secondary
#50A553
accent
#D9534F
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #732771

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

Preview Lab → · Contrast checker → · Palette generator →

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