#732AAF#732AAF

#732AAF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.198 H 304.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#732AAF
RGBrgb(115, 42, 175)
HSLhsl(273, 61%, 43%)
HSVhsv(273, 76%, 69%)
CMYKcmyk(34.3%, 76%, 0%, 31.4%)
CIE-LABlab(34.79, 55.02, -57.25)
CIE-LCHlch(34.79, 79.40, 313.86°)
OKLaboklab(46.27% 0.1123 -0.163)
OKLCHoklch(46.27% 0.198 304.5)
XYZxyz(15.6343, 8.3960, 41.3461)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AAF #66AF2A
analogous
#302AAF #732AAF #AF2AA9
triadic
#732AAF #AF732A #2AAF73
tetradic
#732AAF #AF302A #66AF2A #2AA9AF
square
#732AAF #AF302A #66AF2A #2AA9AF
split-complementary
#732AAF #A9AF2A #2AAF30
monochromatic
#32124C #531E7E #732AAF #9244D2 #AF75DE

Accessibility & contrast

On white

7.84
#732AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#732AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AAF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AAF#FFFFFF#000000##FFFFFF
##732AAF1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#674C6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #732aaf;
/* rgb */ color: rgb(115, 42, 175);
/* oklch */ color: oklch(46.3% 0.198 304.5);
Tailwind
colors: {
  custom: {
    50: '#a16bc8',
    500: '#732aaf',
    950: '#000000',
  },
}
SCSS
$custom: #732aaf;
$custom-light: #a16bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#732aaf",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 272.932,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.19795,
    "h": 304.5
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#732AAF
secondary
#96C66F
accent
#E4438C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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