#732E9F#732E9F

#732E9F is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.177 H 308.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#732E9F
RGBrgb(115, 46, 159)
HSLhsl(277, 55%, 40%)
HSVhsv(277, 71%, 62%)
CMYKcmyk(27.7%, 71.1%, 0%, 37.6%)
CIE-LABlab(34.20, 49.60, -48.62)
CIE-LCHlch(34.20, 69.45, 315.57°)
OKLaboklab(45.46% 0.1112 -0.1377)
OKLCHoklch(45.46% 0.177 308.9)
XYZxyz(14.3040, 8.1023, 33.6045)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732E9F #5A9F2E
analogous
#3A2E9F #732E9F #9F2E93
triadic
#732E9F #9F732E #2E9F73
tetradic
#732E9F #9F3A2E #5A9F2E #2E939F
square
#732E9F #9F3A2E #5A9F2E #2E939F
split-complementary
#732E9F #939F2E #2E9F3A
monochromatic
#2E1340 #512070 #732E9F #9442C8 #AF71D6

Accessibility & contrast

On white

8.01
#732E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#732E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732E9F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732E9F#FFFFFF#000000##FFFFFF
##732E9F1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#15519D
Tritanopia (blue-blind)
#6C4763
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #732e9f;
/* rgb */ color: rgb(115, 46, 159);
/* oklch */ color: oklch(45.5% 0.177 308.9);
Tailwind
colors: {
  custom: {
    50: '#9f6dbc',
    500: '#732e9f',
    950: '#000000',
  },
}
SCSS
$custom: #732e9f;
$custom-light: #9f6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#732e9f",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 276.637,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45464,
    "c": 0.17698,
    "h": 308.9
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#732E9F
secondary
#8BBE6B
accent
#DE4983
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732E9F

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

Preview Lab → · Contrast checker → · Palette generator →

#732E9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva