#732F97#732F97

#732F97 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.167 H 311.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#732F97
RGBrgb(115, 47, 151)
HSLhsl(279, 53%, 39%)
HSVhsv(279, 69%, 59%)
CMYKcmyk(23.8%, 68.9%, 0%, 40.8%)
CIE-LABlab(33.80, 47.32, -44.39)
CIE-LCHlch(33.80, 64.89, 316.83°)
OKLaboklab(45% 0.111 -0.1253)
OKLCHoklch(45% 0.167 311.5)
XYZxyz(13.6716, 7.9126, 30.0792)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732F97 #53972F
analogous
#3F2F97 #732F97 #972F87
triadic
#732F97 #97732F #2F9773
tetradic
#732F97 #973F2F #53972F #2F8797
square
#732F97 #973F2F #53972F #2F8797
split-complementary
#732F97 #87972F #2F973F
monochromatic
#2C123A #4F2068 #732F97 #9640C3 #B06ED2

Accessibility & contrast

On white

8.13
#732F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#732F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732F97
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732F97#FFFFFF#000000##FFFFFF
##732F971.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#6F455F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #732f97;
/* rgb */ color: rgb(115, 47, 151);
/* oklch */ color: oklch(45.0% 0.167 311.5);
Tailwind
colors: {
  custom: {
    50: '#9f6db6',
    500: '#732f97',
    950: '#000000',
  },
}
SCSS
$custom: #732f97;
$custom-light: #9f6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#732f97",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 279.231,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45004,
    "c": 0.16738,
    "h": 311.5
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#732F97
secondary
#84B968
accent
#DC4C7E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #732F97

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

Preview Lab → · Contrast checker → · Palette generator →

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