#732FB9#732FB9

#732FB9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.203 H 301.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#732FB9
RGBrgb(115, 47, 185)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(37.8%, 74.6%, 0%, 27.5%)
CIE-LABlab(36.33, 55.28, -60.68)
CIE-LCHlch(36.33, 82.09, 312.33°)
OKLaboklab(47.6% 0.1055 -0.1732)
OKLCHoklch(47.6% 0.203 301.3)
XYZxyz(16.8416, 9.1806, 46.7743)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FB9 #75B92F
analogous
#2F30B9 #732FB9 #B82FB9
triadic
#732FB9 #B9732F #2FB973
tetradic
#732FB9 #B92F30 #75B92F #2FB9B8
square
#732FB9 #B92F30 #75B92F #2FB9B8
split-complementary
#732FB9 #B9B82F #30B92F
monochromatic
#361657 #552388 #732FB9 #9252D3 #B183DF

Accessibility & contrast

On white

7.40
#732FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#732FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FB9
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FB9#FFFFFF#000000##FFFFFF
##732FB91.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#645272
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #732fb9;
/* rgb */ color: rgb(115, 47, 185);
/* oklch */ color: oklch(47.6% 0.203 301.3);
Tailwind
colors: {
  custom: {
    50: '#a16ecf',
    500: '#732fb9',
    950: '#000000',
  },
}
SCSS
$custom: #732fb9;
$custom-light: #a16ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#732fb9",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 269.565,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47598,
    "c": 0.20277,
    "h": 301.3
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#732FB9
secondary
#A2C97B
accent
#E34595
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #732FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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