#732277#732277

#732277 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.154 H 325.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#732277
RGBrgb(115, 34, 119)
HSLhsl(297, 56%, 30%)
HSVhsv(297, 71%, 47%)
CMYKcmyk(3.4%, 71.4%, 0%, 53.3%)
CIE-LABlab(29.72, 46.40, -31.05)
CIE-LCHlch(29.72, 55.83, 326.21°)
OKLaboklab(41.42% 0.1274 -0.0862)
OKLCHoklch(41.42% 0.154 325.9)
XYZxyz(10.9718, 6.1215, 18.0529)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732277 #267722
analogous
#482277 #732277 #772251
triadic
#732277 #777322 #227773
tetradic
#732277 #774822 #267722 #225177
square
#732277 #774822 #267722 #225177
split-complementary
#732277 #517722 #227748
monochromatic
#170718 #451447 #732277 #A130A7 #C549CB

Accessibility & contrast

On white

9.44
#732277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#732277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732277
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732277#FFFFFF#000000##FFFFFF
##7322771.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104079
Deuteranopia (green-blind)
#344975
Tritanopia (blue-blind)
#762F4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #732277;
/* rgb */ color: rgb(115, 34, 119);
/* oklch */ color: oklch(41.4% 0.154 325.9);
Tailwind
colors: {
  custom: {
    50: '#9e659e',
    500: '#732277',
    950: '#000000',
  },
}
SCSS
$custom: #732277;
$custom-light: #9e659e;
$custom-dark: #000000;
JSON
{
  "hex": "#732277",
  "rgb": {
    "r": 115,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 297.176,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.15381,
    "h": 325.9
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#732277
secondary
#4FAA4B
accent
#DF4950
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #732277

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

Preview Lab → · Contrast checker → · Palette generator →

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