#732166#732166

#732166 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.141 H 334.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#732166
RGBrgb(115, 33, 102)
HSLhsl(310, 55%, 29%)
HSVhsv(310, 71%, 45%)
CMYKcmyk(0%, 71.3%, 11.3%, 54.9%)
CIE-LABlab(28.62, 43.80, -21.90)
CIE-LCHlch(28.62, 48.97, 333.44°)
OKLaboklab(40.32% 0.1275 -0.0597)
OKLCHoklch(40.32% 0.141 334.9)
XYZxyz(10.0125, 5.6927, 13.1393)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732166 #21732E
analogous
#572173 #732166 #73213D
triadic
#732166 #667321 #216673
tetradic
#732166 #735721 #21732E #213D73
square
#732166 #735721 #21732E #213D73
split-complementary
#732166 #3D7321 #217357
monochromatic
#180715 #43133C #732166 #A32F90 #CA45B5

Accessibility & contrast

On white

9.82
#732166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#732166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732166
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732166#FFFFFF#000000##FFFFFF
##7321661.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213C68
Deuteranopia (green-blind)
#3C4864
Tritanopia (blue-blind)
#792740
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #732166;
/* rgb */ color: rgb(115, 33, 102);
/* oklch */ color: oklch(40.3% 0.141 334.9);
Tailwind
colors: {
  custom: {
    50: '#9e6492',
    500: '#732166',
    950: '#000000',
  },
}
SCSS
$custom: #732166;
$custom-light: #9e6492;
$custom-dark: #000000;
JSON
{
  "hex": "#732166",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 309.512,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40319,
    "c": 0.14081,
    "h": 334.9
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#732166
secondary
#49A658
accent
#DF6149
background
#FAF6F8
surface
#F3EBF0
border
#CDC6CB
text
#0F060D
muted
#7F7A7D

Preview Lab

Preview with #732166

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

Preview Lab → · Contrast checker → · Palette generator →

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