#732AB1#732AB1

#732AB1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.200 H 304.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#732AB1
RGBrgb(115, 42, 177)
HSLhsl(272, 62%, 43%)
HSVhsv(272, 76%, 69%)
CMYKcmyk(35%, 76.3%, 0%, 30.6%)
CIE-LABlab(34.95, 55.48, -58.18)
CIE-LCHlch(34.95, 80.40, 313.64°)
OKLaboklab(46.43% 0.1118 -0.1658)
OKLCHoklch(46.43% 0.2 304)
XYZxyz(15.8322, 8.4751, 42.3882)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AB1 #68B12A
analogous
#2F2AB1 #732AB1 #B12AAC
triadic
#732AB1 #B1732A #2AB173
tetradic
#732AB1 #B12F2A #68B12A #2AACB1
square
#732AB1 #B12F2A #68B12A #2AACB1
split-complementary
#732AB1 #ACB12A #2AB12F
monochromatic
#33134E #531E80 #732AB1 #9245D3 #AF77DF

Accessibility & contrast

On white

7.79
#732AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#732AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AB1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AB1#FFFFFF#000000##FFFFFF
##732AB11.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#674C6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #732ab1;
/* rgb */ color: rgb(115, 42, 177);
/* oklch */ color: oklch(46.4% 0.200 304.0);
Tailwind
colors: {
  custom: {
    50: '#a16bc9',
    500: '#732ab1',
    950: '#000000',
  },
}
SCSS
$custom: #732ab1;
$custom-light: #a16bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#732ab1",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 272.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4643,
    "c": 0.19996,
    "h": 304
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#732AB1
secondary
#98C670
accent
#E5438D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #732AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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