#732168#732168

#732168 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.142 H 333.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#732168
RGBrgb(115, 33, 104)
HSLhsl(308, 55%, 29%)
HSVhsv(308, 71%, 45%)
CMYKcmyk(0%, 71.3%, 9.6%, 54.9%)
CIE-LABlab(28.73, 44.13, -23.02)
CIE-LCHlch(28.73, 49.78, 332.45°)
OKLaboklab(40.43% 0.1277 -0.063)
OKLCHoklch(40.43% 0.142 333.8)
XYZxyz(10.1128, 5.7329, 13.6679)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732168 #21732C
analogous
#552173 #732168 #73213F
triadic
#732168 #687321 #216873
tetradic
#732168 #735521 #21732C #213F73
square
#732168 #735521 #21732C #213F73
split-complementary
#732168 #3F7321 #217355
monochromatic
#180716 #43133D #732168 #A32F93 #CA45B8

Accessibility & contrast

On white

9.78
#732168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#732168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732168
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732168#FFFFFF#000000##FFFFFF
##7321681.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C6A
Deuteranopia (green-blind)
#3C4866
Tritanopia (blue-blind)
#782841
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #732168;
/* rgb */ color: rgb(115, 33, 104);
/* oklch */ color: oklch(40.4% 0.142 333.8);
Tailwind
colors: {
  custom: {
    50: '#9e6493',
    500: '#732168',
    950: '#000000',
  },
}
SCSS
$custom: #732168;
$custom-light: #9e6493;
$custom-dark: #000000;
JSON
{
  "hex": "#732168",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 308.049,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40429,
    "c": 0.1424,
    "h": 333.8
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#732168
secondary
#49A656
accent
#DF5D49
background
#FAF6F9
surface
#F3EBF1
border
#CDC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #732168

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

Preview Lab → · Contrast checker → · Palette generator →

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