#732DA1#732DA1

#732DA1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.180 H 308.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#732DA1
RGBrgb(115, 45, 161)
HSLhsl(276, 56%, 40%)
HSVhsv(276, 72%, 63%)
CMYKcmyk(28.6%, 72%, 0%, 36.9%)
CIE-LABlab(34.18, 50.50, -49.85)
CIE-LCHlch(34.18, 70.96, 315.37°)
OKLaboklab(45.5% 0.112 -0.1413)
OKLCHoklch(45.5% 0.18 308.4)
XYZxyz(14.4403, 8.0951, 34.5131)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DA1 #5BA12D
analogous
#392DA1 #732DA1 #A12D95
triadic
#732DA1 #A1732D #2DA173
tetradic
#732DA1 #A1392D #5BA12D #2D95A1
square
#732DA1 #A1392D #5BA12D #2D95A1
split-complementary
#732DA1 #95A12D #2DA139
monochromatic
#2F1241 #512071 #732DA1 #9441CA #AF71D7

Accessibility & contrast

On white

8.02
#732DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#732DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DA1
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DA1#FFFFFF#000000##FFFFFF
##732DA11.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#0E519F
Tritanopia (blue-blind)
#6C4764
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #732da1;
/* rgb */ color: rgb(115, 45, 161);
/* oklch */ color: oklch(45.5% 0.180 308.4);
Tailwind
colors: {
  custom: {
    50: '#a06cbe',
    500: '#732da1',
    950: '#000000',
  },
}
SCSS
$custom: #732da1;
$custom-light: #a06cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#732da1",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 276.207,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.455,
    "c": 0.18029,
    "h": 308.4
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#732DA1
secondary
#8CBF6B
accent
#E04884
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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