#732EAA#732EAA

#732EAA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.188 H 305.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#732EAA
RGBrgb(115, 46, 170)
HSLhsl(273, 57%, 42%)
HSVhsv(273, 73%, 67%)
CMYKcmyk(32.4%, 72.9%, 0%, 33.3%)
CIE-LABlab(35.01, 52.15, -53.92)
CIE-LCHlch(35.01, 75.01, 314.04°)
OKLaboklab(46.3% 0.1095 -0.1533)
OKLCHoklch(46.3% 0.188 305.5)
XYZxyz(15.3013, 8.5012, 38.8572)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EAA #65AA2E
analogous
#352EAA #732EAA #AA2EA3
triadic
#732EAA #AA732E #2EAA73
tetradic
#732EAA #AA352E #65AA2E #2EA3AA
square
#732EAA #AA352E #65AA2E #2EA3AA
split-complementary
#732EAA #A3AA2E #2EAA35
monochromatic
#32144A #52217A #732EAA #9248CD #AF78DA

Accessibility & contrast

On white

7.78
#732EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#732EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732EAA
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EAA#FFFFFF#000000##FFFFFF
##732EAA1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#694C69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #732eaa;
/* rgb */ color: rgb(115, 46, 170);
/* oklch */ color: oklch(46.3% 0.188 305.5);
Tailwind
colors: {
  custom: {
    50: '#a06dc4',
    500: '#732eaa',
    950: '#000000',
  },
}
SCSS
$custom: #732eaa;
$custom-light: #a06dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#732eaa",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 273.387,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46296,
    "c": 0.18837,
    "h": 305.5
  },
  "luminance": 0.08501
}

Semantic roles & 50–950 ramp

primary
#732EAA
secondary
#95C371
accent
#E1478B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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