#732AA0#732AA0

#732AA0 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.183 H 309.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#732AA0
RGBrgb(115, 42, 160)
HSLhsl(277, 58%, 40%)
HSVhsv(277, 74%, 63%)
CMYKcmyk(28.1%, 73.8%, 0%, 37.3%)
CIE-LABlab(33.65, 51.58, -50.11)
CIE-LCHlch(33.65, 71.91, 315.83°)
OKLaboklab(45.1% 0.1152 -0.1421)
OKLCHoklch(45.1% 0.183 309)
XYZxyz(14.2421, 7.8391, 34.0137)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AA0 #57A02A
analogous
#382AA0 #732AA0 #A02A92
triadic
#732AA0 #A0732A #2AA073
tetradic
#732AA0 #A0382A #57A02A #2A92A0
square
#732AA0 #A0382A #57A02A #2A92A0
split-complementary
#732AA0 #92A02A #2AA038
monochromatic
#2D113F #501D70 #732AA0 #953CCC #AF6CD8

Accessibility & contrast

On white

8.18
#732AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#732AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AA0
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AA0#FFFFFF#000000##FFFFFF
##732AA01.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#09509E
Tritanopia (blue-blind)
#6C4563
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #732aa0;
/* rgb */ color: rgb(115, 42, 160);
/* oklch */ color: oklch(45.1% 0.183 309.0);
Tailwind
colors: {
  custom: {
    50: '#a06bbd',
    500: '#732aa0',
    950: '#000000',
  },
}
SCSS
$custom: #732aa0;
$custom-light: #a06bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#732aa0",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 277.119,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45097,
    "c": 0.1829,
    "h": 309
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#732AA0
secondary
#88BF67
accent
#E24681
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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