#732170#732170

#732170 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.149 H 329.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#732170
RGBrgb(115, 33, 112)
HSLhsl(302, 55%, 29%)
HSVhsv(302, 71%, 45%)
CMYKcmyk(0%, 71.3%, 2.6%, 54.9%)
CIE-LABlab(29.17, 45.52, -27.47)
CIE-LCHlch(29.17, 53.17, 328.89°)
OKLaboklab(40.89% 0.1283 -0.0758)
OKLCHoklch(40.89% 0.149 329.4)
XYZxyz(10.5386, 5.9032, 15.9105)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732170 #217324
analogous
#4D2173 #732170 #732147
triadic
#732170 #707321 #217073
tetradic
#732170 #734D21 #217324 #214773
square
#732170 #734D21 #217324 #214773
split-complementary
#732170 #477321 #21734D
monochromatic
#180717 #431342 #732170 #A32F9E #CA45C5

Accessibility & contrast

On white

9.63
#732170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#732170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732170
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732170#FFFFFF#000000##FFFFFF
##7321701.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E72
Deuteranopia (green-blind)
#38496E
Tritanopia (blue-blind)
#772B46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #732170;
/* rgb */ color: rgb(115, 33, 112);
/* oklch */ color: oklch(40.9% 0.149 329.4);
Tailwind
colors: {
  custom: {
    50: '#9e6499',
    500: '#732170',
    950: '#000000',
  },
}
SCSS
$custom: #732170;
$custom-light: #9e6499;
$custom-dark: #000000;
JSON
{
  "hex": "#732170",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 302.195,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40888,
    "c": 0.14904,
    "h": 329.4
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#732170
secondary
#49A64D
accent
#DF4F49
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #732170

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

Preview Lab → · Contrast checker → · Palette generator →

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