#732CAF#732CAF

#732CAF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.5% C 0.196 H 304.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#732CAF
RGBrgb(115, 44, 175)
HSLhsl(273, 60%, 43%)
HSVhsv(273, 75%, 69%)
CMYKcmyk(34.3%, 74.9%, 0%, 31.4%)
CIE-LABlab(35.09, 54.18, -56.78)
CIE-LCHlch(35.09, 78.48, 313.66°)
OKLaboklab(46.47% 0.1104 -0.1617)
OKLCHoklch(46.47% 0.196 304.3)
XYZxyz(15.7070, 8.5414, 41.3703)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CAF #68AF2C
analogous
#312CAF #732CAF #AF2CA9
triadic
#732CAF #AF732C #2CAF73
tetradic
#732CAF #AF312C #68AF2C #2CA9AF
square
#732CAF #AF312C #68AF2C #2CA9AF
split-complementary
#732CAF #A9AF2C #2CAF31
monochromatic
#33134D #53207E #732CAF #9247D1 #AF78DD

Accessibility & contrast

On white

7.75
#732CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#732CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CAF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CAF#FFFFFF#000000##FFFFFF
##732CAF1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#674D6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #732caf;
/* rgb */ color: rgb(115, 44, 175);
/* oklch */ color: oklch(46.5% 0.196 304.3);
Tailwind
colors: {
  custom: {
    50: '#a16cc8',
    500: '#732caf',
    950: '#000000',
  },
}
SCSS
$custom: #732caf;
$custom-light: #a16cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#732caf",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 272.519,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46474,
    "c": 0.19578,
    "h": 304.3
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#732CAF
secondary
#98C572
accent
#E3458D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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