#732FB6#732FB6

#732FB6 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.200 H 302.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#732FB6
RGBrgb(115, 47, 182)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 74%, 71%)
CMYKcmyk(36.8%, 74.2%, 0%, 28.6%)
CIE-LABlab(36.09, 54.55, -59.30)
CIE-LCHlch(36.09, 80.58, 312.61°)
OKLaboklab(47.35% 0.1061 -0.1691)
OKLCHoklch(47.35% 0.2 302.1)
XYZxyz(16.5282, 9.0552, 45.1240)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FB6 #72B62F
analogous
#2F2FB6 #732FB6 #B62FB6
triadic
#732FB6 #B6732F #2FB673
tetradic
#732FB6 #B62F2F #72B62F #2FB6B6
square
#732FB6 #B62F2F #72B62F #2FB6B6
split-complementary
#732FB6 #B6B62F #2FB62F
monochromatic
#361655 #542285 #732FB6 #9250D2 #B081DE

Accessibility & contrast

On white

7.47
#732FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#732FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FB6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FB6#FFFFFF#000000##FFFFFF
##732FB61.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#655170
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #732fb6;
/* rgb */ color: rgb(115, 47, 182);
/* oklch */ color: oklch(47.4% 0.200 302.1);
Tailwind
colors: {
  custom: {
    50: '#a16ecd',
    500: '#732fb6',
    950: '#000000',
  },
}
SCSS
$custom: #732fb6;
$custom-light: #a16ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#732fb6",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 270.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47354,
    "c": 0.19966,
    "h": 302.1
  },
  "luminance": 0.09055
}

Semantic roles & 50–950 ramp

primary
#732FB6
secondary
#A0C779
accent
#E24693
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #732FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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