#732AAB#732AAB

#732AAB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.194 H 305.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#732AAB
RGBrgb(115, 42, 171)
HSLhsl(274, 61%, 42%)
HSVhsv(274, 75%, 67%)
CMYKcmyk(32.7%, 75.4%, 0%, 32.9%)
CIE-LABlab(34.48, 54.09, -55.37)
CIE-LCHlch(34.48, 77.41, 314.33°)
OKLaboklab(45.95% 0.1131 -0.1575)
OKLCHoklch(45.95% 0.194 305.7)
XYZxyz(15.2472, 8.2412, 39.3076)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AAB #62AB2A
analogous
#322AAB #732AAB #AB2AA3
triadic
#732AAB #AB732A #2AAB73
tetradic
#732AAB #AB322A #62AB2A #2AA3AB
square
#732AAB #AB322A #62AB2A #2AA3AB
split-complementary
#732AAB #A3AB2A #2AAB32
monochromatic
#311249 #521E7A #732AAB #9342D1 #AF73DD

Accessibility & contrast

On white

7.93
#732AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#732AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AAB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AAB#FFFFFF#000000##FFFFFF
##732AAB1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#694A69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732aab;
/* rgb */ color: rgb(115, 42, 171);
/* oklch */ color: oklch(45.9% 0.194 305.7);
Tailwind
colors: {
  custom: {
    50: '#a06bc5',
    500: '#732aab',
    950: '#000000',
  },
}
SCSS
$custom: #732aab;
$custom-light: #a06bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#732aab",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 273.953,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.19394,
    "h": 305.7
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#732AAB
secondary
#93C46D
accent
#E44489
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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