#732DA4#732DA4

#732DA4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.183 H 307.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#732DA4
RGBrgb(115, 45, 164)
HSLhsl(275, 57%, 41%)
HSVhsv(275, 73%, 64%)
CMYKcmyk(29.9%, 72.6%, 0%, 35.7%)
CIE-LABlab(34.40, 51.19, -51.30)
CIE-LCHlch(34.40, 72.47, 314.94°)
OKLaboklab(45.73% 0.1115 -0.1456)
OKLCHoklch(45.73% 0.183 307.4)
XYZxyz(14.7080, 8.2021, 35.9231)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DA4 #5EA42D
analogous
#372DA4 #732DA4 #A42D99
triadic
#732DA4 #A4732D #2DA473
tetradic
#732DA4 #A4372D #5EA42D #2D99A4
square
#732DA4 #A4372D #5EA42D #2D99A4
split-complementary
#732DA4 #99A42D #2DA437
monochromatic
#301344 #512074 #732DA4 #9343CB #AF73D9

Accessibility & contrast

On white

7.95
#732DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#732DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DA4
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DA4#FFFFFF#000000##FFFFFF
##732DA41.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0351A1
Tritanopia (blue-blind)
#6B4966
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732da4;
/* rgb */ color: rgb(115, 45, 164);
/* oklch */ color: oklch(45.7% 0.183 307.4);
Tailwind
colors: {
  custom: {
    50: '#a06cc0',
    500: '#732da4',
    950: '#000000',
  },
}
SCSS
$custom: #732da4;
$custom-light: #a06cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#732da4",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 275.294,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.18337,
    "h": 307.4
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#732DA4
secondary
#8FC06D
accent
#E04886
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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