#732AA6#732AA6

#732AA6 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.189 H 307.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#732AA6
RGBrgb(115, 42, 166)
HSLhsl(275, 60%, 41%)
HSVhsv(275, 75%, 65%)
CMYKcmyk(30.7%, 74.7%, 0%, 34.9%)
CIE-LABlab(34.10, 52.94, -53.00)
CIE-LCHlch(34.10, 74.91, 314.97°)
OKLaboklab(45.56% 0.1141 -0.1505)
OKLCHoklch(45.56% 0.189 307.2)
XYZxyz(14.7797, 8.0541, 36.8450)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AA6 #5DA62A
analogous
#352AA6 #732AA6 #A62A9B
triadic
#732AA6 #A6732A #2AA673
tetradic
#732AA6 #A6352A #5DA62A #2A9BA6
square
#732AA6 #A6352A #5DA62A #2A9BA6
split-complementary
#732AA6 #9BA62A #2AA635
monochromatic
#2F1144 #511E75 #732AA6 #933FCE #AF70DB

Accessibility & contrast

On white

8.04
#732AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#732AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AA6
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AA6#FFFFFF#000000##FFFFFF
##732AA61.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#6A4866
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #732aa6;
/* rgb */ color: rgb(115, 42, 166);
/* oklch */ color: oklch(45.6% 0.189 307.2);
Tailwind
colors: {
  custom: {
    50: '#a06bc1',
    500: '#732aa6',
    950: '#000000',
  },
}
SCSS
$custom: #732aa6;
$custom-light: #a06bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#732aa6",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 275.323,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45557,
    "c": 0.18891,
    "h": 307.2
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#732AA6
secondary
#8EC26A
accent
#E34586
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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