#732181#732181

#732181 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.164 H 321.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#732181
RGBrgb(115, 33, 129)
HSLhsl(291, 59%, 32%)
HSVhsv(291, 74%, 51%)
CMYKcmyk(10.9%, 74.4%, 0%, 49.4%)
CIE-LABlab(30.20, 48.70, -36.58)
CIE-LCHlch(30.20, 60.91, 323.09°)
OKLaboklab(41.96% 0.1282 -0.1023)
OKLCHoklch(41.96% 0.164 321.4)
XYZxyz(11.5761, 6.3182, 21.3744)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732181 #2F8121
analogous
#432181 #732181 #81215F
triadic
#732181 #817321 #218173
tetradic
#732181 #814321 #2F8121 #215F81
square
#732181 #814321 #2F8121 #215F81
split-complementary
#732181 #5F8121 #218143
monochromatic
#1C0820 #481550 #732181 #9E2DB2 #BE4BD1

Accessibility & contrast

On white

9.28
#732181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#732181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732181
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732181#FFFFFF#000000##FFFFFF
##7321811.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#2D4A7F
Tritanopia (blue-blind)
#74334F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #732181;
/* rgb */ color: rgb(115, 33, 129);
/* oklch */ color: oklch(42.0% 0.164 321.4);
Tailwind
colors: {
  custom: {
    50: '#9f65a6',
    500: '#732181',
    950: '#000000',
  },
}
SCSS
$custom: #732181;
$custom-light: #9f65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#732181",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 291.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41963,
    "c": 0.16399,
    "h": 321.4
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#732181
secondary
#5AB44A
accent
#E2455C
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #732181

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

Preview Lab → · Contrast checker → · Palette generator →

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