#732CBA#732CBA

#732CBA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.207 H 301.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#732CBA
RGBrgb(115, 44, 186)
HSLhsl(270, 62%, 45%)
HSVhsv(270, 76%, 73%)
CMYKcmyk(38.2%, 76.3%, 0%, 27.1%)
CIE-LABlab(35.97, 56.78, -61.87)
CIE-LCHlch(35.97, 83.97, 312.55°)
OKLaboklab(47.37% 0.1079 -0.1766)
OKLCHoklch(47.37% 0.207 301.4)
XYZxyz(16.8317, 8.9913, 47.2936)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CBA #73BA2C
analogous
#2C2CBA #732CBA #BA2CBA
triadic
#732CBA #BA732C #2CBA73
tetradic
#732CBA #BA2C2C #73BA2C #2CBABA
square
#732CBA #BA2C2C #73BA2C #2CBABA
split-complementary
#732CBA #BABA2C #2CBA2C
monochromatic
#361557 #542089 #732CBA #924ED5 #B080E1

Accessibility & contrast

On white

7.50
#732CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#732CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CBA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CBA#FFFFFF#000000##FFFFFF
##732CBA1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#635172
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #732cba;
/* rgb */ color: rgb(115, 44, 186);
/* oklch */ color: oklch(47.4% 0.207 301.4);
Tailwind
colors: {
  custom: {
    50: '#a26dd0',
    500: '#732cba',
    950: '#000000',
  },
}
SCSS
$custom: #732cba;
$custom-light: #a26dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#732cba",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 270,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47368,
    "c": 0.20697,
    "h": 301.4
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#732CBA
secondary
#A1CA78
accent
#E54394
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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