#732BB4#732BB4

#732BB4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.202 H 303.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#732BB4
RGBrgb(115, 43, 180)
HSLhsl(272, 61%, 44%)
HSVhsv(272, 76%, 71%)
CMYKcmyk(36.1%, 76.1%, 0%, 29.4%)
CIE-LABlab(35.34, 55.77, -59.34)
CIE-LCHlch(35.34, 81.44, 313.22°)
OKLaboklab(46.77% 0.1102 -0.1692)
OKLCHoklch(46.77% 0.202 303.1)
XYZxyz(16.1704, 8.6679, 43.9923)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732BB4 #6CB42B
analogous
#2E2BB4 #732BB4 #B42BB0
triadic
#732BB4 #B4732B #2BB473
tetradic
#732BB4 #B42E2B #6CB42B #2BB0B4
square
#732BB4 #B42E2B #6CB42B #2BB0B4
split-complementary
#732BB4 #B0B42B #2BB42E
monochromatic
#341351 #531F83 #732BB4 #9249D3 #AF7ADF

Accessibility & contrast

On white

7.68
#732BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#732BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732BB4
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732BB4#FFFFFF#000000##FFFFFF
##732BB41.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#664E6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #732bb4;
/* rgb */ color: rgb(115, 43, 180);
/* oklch */ color: oklch(46.8% 0.202 303.1);
Tailwind
colors: {
  custom: {
    50: '#a16ccb',
    500: '#732bb4',
    950: '#000000',
  },
}
SCSS
$custom: #732bb4;
$custom-light: #a16ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#732bb4",
  "rgb": {
    "r": 115,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 271.533,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46774,
    "c": 0.20194,
    "h": 303.1
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#732BB4
secondary
#9BC773
accent
#E54390
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #732BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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