#732BA1#732BA1

#732BA1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.183 H 308.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#732BA1
RGBrgb(115, 43, 161)
HSLhsl(277, 58%, 40%)
HSVhsv(277, 73%, 63%)
CMYKcmyk(28.6%, 73.3%, 0%, 36.9%)
CIE-LABlab(33.87, 51.38, -50.35)
CIE-LCHlch(33.87, 71.94, 315.58°)
OKLaboklab(45.28% 0.114 -0.1428)
OKLCHoklch(45.28% 0.183 308.6)
XYZxyz(14.3658, 7.9460, 34.4883)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732BA1 #59A12B
analogous
#382BA1 #732BA1 #A12B94
triadic
#732BA1 #A1732B #2BA173
tetradic
#732BA1 #A1382B #59A12B #2B94A1
square
#732BA1 #A1382B #59A12B #2B94A1
split-complementary
#732BA1 #94A12B #2BA138
monochromatic
#2E1140 #501E71 #732BA1 #943ECB #AF6ED8

Accessibility & contrast

On white

8.11
#732BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#732BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732BA1
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732BA1#FFFFFF#000000##FFFFFF
##732BA11.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#08509F
Tritanopia (blue-blind)
#6C4663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #732ba1;
/* rgb */ color: rgb(115, 43, 161);
/* oklch */ color: oklch(45.3% 0.183 308.6);
Tailwind
colors: {
  custom: {
    50: '#a06bbe',
    500: '#732ba1',
    950: '#000000',
  },
}
SCSS
$custom: #732ba1;
$custom-light: #a06bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#732ba1",
  "rgb": {
    "r": 115,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 276.61,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.4528,
    "c": 0.18272,
    "h": 308.6
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#732BA1
secondary
#8ABF69
accent
#E14783
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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