#732DAF#732DAF

#732DAF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.195 H 304.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#732DAF
RGBrgb(115, 45, 175)
HSLhsl(272, 59%, 43%)
HSVhsv(272, 74%, 69%)
CMYKcmyk(34.3%, 74.3%, 0%, 31.4%)
CIE-LABlab(35.24, 53.76, -56.53)
CIE-LCHlch(35.24, 78.01, 313.56°)
OKLaboklab(46.58% 0.1095 -0.161)
OKLCHoklch(46.58% 0.195 304.2)
XYZxyz(15.7447, 8.6168, 41.3829)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DAF #69AF2D
analogous
#322DAF #732DAF #AF2DAA
triadic
#732DAF #AF732D #2DAF73
tetradic
#732DAF #AF322D #69AF2D #2DAAAF
square
#732DAF #AF322D #69AF2D #2DAAAF
split-complementary
#732DAF #AAAF2D #2DAF32
monochromatic
#33144E #53207E #732DAF #9249D0 #AF7ADD

Accessibility & contrast

On white

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

On black

2.72
#732DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##732DAF#FFFFFF#000000##FFFFFF
##732DAF1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732daf;
/* rgb */ color: rgb(115, 45, 175);
/* oklch */ color: oklch(46.6% 0.195 304.2);
Tailwind
colors: {
  custom: {
    50: '#a16dc8',
    500: '#732daf',
    950: '#000000',
  },
}
SCSS
$custom: #732daf;
$custom-light: #a16dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#732daf",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 272.308,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4658,
    "c": 0.19466,
    "h": 304.2
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#732DAF
secondary
#99C573
accent
#E2468E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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