#732381#732381

#732381 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.162 H 321.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#732381
RGBrgb(115, 35, 129)
HSLhsl(291, 57%, 32%)
HSVhsv(291, 73%, 51%)
CMYKcmyk(10.9%, 72.9%, 0%, 49.4%)
CIE-LABlab(30.48, 47.91, -36.14)
CIE-LCHlch(30.48, 60.01, 322.98°)
OKLaboklab(42.16% 0.126 -0.101)
OKLCHoklch(42.16% 0.162 321.3)
XYZxyz(11.6333, 6.4325, 21.3935)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732381 #318123
analogous
#442381 #732381 #812360
triadic
#732381 #817323 #238173
tetradic
#732381 #814423 #318123 #236081
square
#732381 #814423 #318123 #236081
split-complementary
#732381 #608123 #238144
monochromatic
#1D0921 #481651 #732381 #9E30B1 #BC4FCF

Accessibility & contrast

On white

9.18
#732381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#732381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732381
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732381#FFFFFF#000000##FFFFFF
##7323811.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#2E4B7F
Tritanopia (blue-blind)
#74344F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #732381;
/* rgb */ color: rgb(115, 35, 129);
/* oklch */ color: oklch(42.2% 0.162 321.3);
Tailwind
colors: {
  custom: {
    50: '#9e66a6',
    500: '#732381',
    950: '#000000',
  },
}
SCSS
$custom: #732381;
$custom-light: #9e66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#732381",
  "rgb": {
    "r": 115,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 291.064,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42161,
    "c": 0.16153,
    "h": 321.3
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#732381
secondary
#5CB34D
accent
#E1475E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #732381

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

Preview Lab → · Contrast checker → · Palette generator →

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