#732BB3#732BB3

#732BB3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.201 H 303.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#732BB3
RGBrgb(115, 43, 179)
HSLhsl(272, 61%, 44%)
HSVhsv(272, 76%, 70%)
CMYKcmyk(35.8%, 76%, 0%, 29.8%)
CIE-LABlab(35.26, 55.54, -58.88)
CIE-LCHlch(35.26, 80.94, 313.33°)
OKLaboklab(46.69% 0.1104 -0.1678)
OKLCHoklch(46.69% 0.201 303.3)
XYZxyz(16.0689, 8.6273, 43.4578)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732BB3 #6BB32B
analogous
#2F2BB3 #732BB3 #B32BAF
triadic
#732BB3 #B3732B #2BB373
tetradic
#732BB3 #B32F2B #6BB32B #2BAFB3
square
#732BB3 #B32F2B #6BB32B #2BAFB3
split-complementary
#732BB3 #AFB32B #2BB32F
monochromatic
#341350 #531F82 #732BB3 #9248D3 #AF79DF

Accessibility & contrast

On white

7.71
#732BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732BB3
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732BB3#FFFFFF#000000##FFFFFF
##732BB31.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732bb3;
/* rgb */ color: rgb(115, 43, 179);
/* oklch */ color: oklch(46.7% 0.201 303.3);
Tailwind
colors: {
  custom: {
    50: '#a16ccb',
    500: '#732bb3',
    950: '#000000',
  },
}
SCSS
$custom: #732bb3;
$custom-light: #a16ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#732bb3",
  "rgb": {
    "r": 115,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 271.765,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46693,
    "c": 0.20092,
    "h": 303.3
  },
  "luminance": 0.08627
}

Semantic roles & 50–950 ramp

primary
#732BB3
secondary
#9AC773
accent
#E4438F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #732BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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