#732FA1#732FA1

#732FA1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.178 H 308.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#732FA1
RGBrgb(115, 47, 161)
HSLhsl(276, 55%, 41%)
HSVhsv(276, 71%, 63%)
CMYKcmyk(28.6%, 70.8%, 0%, 36.9%)
CIE-LABlab(34.50, 49.60, -49.33)
CIE-LCHlch(34.50, 69.96, 315.16°)
OKLaboklab(45.73% 0.1099 -0.1398)
OKLCHoklch(45.73% 0.178 308.2)
XYZxyz(14.5184, 8.2513, 34.5391)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FA1 #5DA12F
analogous
#3A2FA1 #732FA1 #A12F96
triadic
#732FA1 #A1732F #2FA173
tetradic
#732FA1 #A13A2F #5DA12F #2F96A1
square
#732FA1 #A13A2F #5DA12F #2F96A1
split-complementary
#732FA1 #96A12F #2FA13A
monochromatic
#2F1342 #512172 #732FA1 #9345C9 #AF74D6

Accessibility & contrast

On white

7.92
#732FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732FA1
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FA1#FFFFFF#000000##FFFFFF
##732FA11.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#12529F
Tritanopia (blue-blind)
#6C4864
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732fa1;
/* rgb */ color: rgb(115, 47, 161);
/* oklch */ color: oklch(45.7% 0.178 308.2);
Tailwind
colors: {
  custom: {
    50: '#9f6dbe',
    500: '#732fa1',
    950: '#000000',
  },
}
SCSS
$custom: #732fa1;
$custom-light: #9f6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#732fa1",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 275.789,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.1778,
    "h": 308.2
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#732FA1
secondary
#8EBE6E
accent
#DE4A86
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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