#732FB3#732FB3

#732FB3 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.197 H 302.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#732FB3
RGBrgb(115, 47, 179)
HSLhsl(271, 58%, 44%)
HSVhsv(271, 74%, 70%)
CMYKcmyk(35.8%, 73.7%, 0%, 29.8%)
CIE-LABlab(35.85, 53.84, -57.91)
CIE-LCHlch(35.85, 79.07, 312.91°)
OKLaboklab(47.11% 0.1068 -0.165)
OKLCHoklch(47.11% 0.197 302.9)
XYZxyz(16.2215, 8.9325, 43.5086)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FB3 #6FB32F
analogous
#312FB3 #732FB3 #B32FB1
triadic
#732FB3 #B3732F #2FB373
tetradic
#732FB3 #B3312F #6FB32F #2FB1B3
square
#732FB3 #B3312F #6FB32F #2FB1B3
split-complementary
#732FB3 #B1B32F #2FB331
monochromatic
#351652 #542283 #732FB3 #924FD1 #B07FDD

Accessibility & contrast

On white

7.54
#732FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#732FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FB3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FB3#FFFFFF#000000##FFFFFF
##732FB31.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#66506F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732fb3;
/* rgb */ color: rgb(115, 47, 179);
/* oklch */ color: oklch(47.1% 0.197 302.9);
Tailwind
colors: {
  custom: {
    50: '#a16ecb',
    500: '#732fb3',
    950: '#000000',
  },
}
SCSS
$custom: #732fb3;
$custom-light: #a16ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#732fb3",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 270.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47114,
    "c": 0.19654,
    "h": 302.9
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

primary
#732FB3
secondary
#9EC678
accent
#E24692
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #732FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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