#732FB1#732FB1

#732FB1 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.194 H 303.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#732FB1
RGBrgb(115, 47, 177)
HSLhsl(271, 58%, 44%)
HSVhsv(271, 73%, 69%)
CMYKcmyk(35%, 73.4%, 0%, 30.6%)
CIE-LABlab(35.70, 53.36, -56.97)
CIE-LCHlch(35.70, 78.06, 313.12°)
OKLaboklab(46.96% 0.1072 -0.1623)
OKLCHoklch(46.96% 0.194 303.4)
XYZxyz(16.0207, 8.8522, 42.4511)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FB1 #6DB12F
analogous
#322FB1 #732FB1 #B12FAE
triadic
#732FB1 #B1732F #2FB173
tetradic
#732FB1 #B1322F #6DB12F #2FAEB1
square
#732FB1 #B1322F #6DB12F #2FAEB1
split-complementary
#732FB1 #AEB12F #2FB132
monochromatic
#341550 #542281 #732FB1 #924DD0 #AF7EDD

Accessibility & contrast

On white

7.58
#732FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#732FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FB1
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FB1#FFFFFF#000000##FFFFFF
##732FB11.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#674F6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732fb1;
/* rgb */ color: rgb(115, 47, 177);
/* oklch */ color: oklch(47.0% 0.194 303.4);
Tailwind
colors: {
  custom: {
    50: '#a16ec9',
    500: '#732fb1',
    950: '#000000',
  },
}
SCSS
$custom: #732fb1;
$custom-light: #a16ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#732fb1",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 271.385,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.19447,
    "h": 303.4
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#732FB1
secondary
#9CC576
accent
#E14790
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #732FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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