#732BB6#732BB6

#732BB6 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.204 H 302.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#732BB6
RGBrgb(115, 43, 182)
HSLhsl(271, 62%, 44%)
HSVhsv(271, 76%, 71%)
CMYKcmyk(36.8%, 76.4%, 0%, 28.6%)
CIE-LABlab(35.50, 56.24, -60.27)
CIE-LCHlch(35.50, 82.43, 313.02°)
OKLaboklab(46.94% 0.1097 -0.1719)
OKLCHoklch(46.94% 0.204 302.5)
XYZxyz(16.3756, 8.7500, 45.0731)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732BB6 #6EB62B
analogous
#2D2BB6 #732BB6 #B62BB4
triadic
#732BB6 #B6732B #2BB673
tetradic
#732BB6 #B62D2B #6EB62B #2BB4B6
square
#732BB6 #B62D2B #6EB62B #2BB4B6
split-complementary
#732BB6 #B4B62B #2BB62D
monochromatic
#341453 #541F84 #732BB6 #924AD4 #B07BE0

Accessibility & contrast

On white

7.64
#732BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#732BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732BB6
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732BB6#FFFFFF#000000##FFFFFF
##732BB61.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#654F6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #732bb6;
/* rgb */ color: rgb(115, 43, 182);
/* oklch */ color: oklch(46.9% 0.204 302.5);
Tailwind
colors: {
  custom: {
    50: '#a16ccd',
    500: '#732bb6',
    950: '#000000',
  },
}
SCSS
$custom: #732bb6;
$custom-light: #a16ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#732bb6",
  "rgb": {
    "r": 115,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 271.079,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46938,
    "c": 0.20395,
    "h": 302.5
  },
  "luminance": 0.0875
}

Semantic roles & 50–950 ramp

primary
#732BB6
secondary
#9DC875
accent
#E54391
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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