#732078#732078

#732078 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.157 H 325.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#732078
RGBrgb(115, 32, 120)
HSLhsl(297, 58%, 30%)
HSVhsv(297, 73%, 47%)
CMYKcmyk(4.2%, 73.3%, 0%, 52.9%)
CIE-LABlab(29.50, 47.37, -32.03)
CIE-LCHlch(29.50, 57.18, 325.94°)
OKLaboklab(41.28% 0.1296 -0.089)
OKLCHoklch(41.28% 0.157 325.5)
XYZxyz(10.9767, 6.0346, 18.3523)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732078 #257820
analogous
#472078 #732078 #782051
triadic
#732078 #787320 #207873
tetradic
#732078 #784720 #257820 #205178
square
#732078 #784720 #257820 #205178
split-complementary
#732078 #517820 #207847
monochromatic
#170618 #451348 #732078 #A12DA8 #C645CD

Accessibility & contrast

On white

9.52
#732078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#732078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732078
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732078#FFFFFF#000000##FFFFFF
##7320781.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093F7A
Deuteranopia (green-blind)
#334976
Tritanopia (blue-blind)
#762E4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #732078;
/* rgb */ color: rgb(115, 32, 120);
/* oklch */ color: oklch(41.3% 0.157 325.5);
Tailwind
colors: {
  custom: {
    50: '#9e649f',
    500: '#732078',
    950: '#000000',
  },
}
SCSS
$custom: #732078;
$custom-light: #9e649f;
$custom-dark: #000000;
JSON
{
  "hex": "#732078",
  "rgb": {
    "r": 115,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 296.591,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41279,
    "c": 0.15721,
    "h": 325.5
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#732078
secondary
#4EAB48
accent
#E1474F
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #732078

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

Preview Lab → · Contrast checker → · Palette generator →

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