#732FA0#732FA0

#732FA0 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.177 H 308.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#732FA0
RGBrgb(115, 47, 160)
HSLhsl(276, 55%, 41%)
HSVhsv(276, 71%, 63%)
CMYKcmyk(28.1%, 70.6%, 0%, 37.3%)
CIE-LABlab(34.43, 49.37, -48.84)
CIE-LCHlch(34.43, 69.45, 315.31°)
OKLaboklab(45.65% 0.11 -0.1384)
OKLCHoklch(45.65% 0.177 308.5)
XYZxyz(14.4306, 8.2162, 34.0766)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FA0 #5CA02F
analogous
#3A2FA0 #732FA0 #A02F94
triadic
#732FA0 #A0732F #2FA073
tetradic
#732FA0 #A03A2F #5CA02F #2F94A0
square
#732FA0 #A03A2F #5CA02F #2F94A0
split-complementary
#732FA0 #94A02F #2FA03A
monochromatic
#2F1341 #512171 #732FA0 #9444C8 #AF73D6

Accessibility & contrast

On white

7.94
#732FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#732FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FA0
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FA0#FFFFFF#000000##FFFFFF
##732FA01.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#15529E
Tritanopia (blue-blind)
#6C4864
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732fa0;
/* rgb */ color: rgb(115, 47, 160);
/* oklch */ color: oklch(45.7% 0.177 308.5);
Tailwind
colors: {
  custom: {
    50: '#9f6dbd',
    500: '#732fa0',
    950: '#000000',
  },
}
SCSS
$custom: #732fa0;
$custom-light: #9f6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#732fa0",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 276.106,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45654,
    "c": 0.17675,
    "h": 308.5
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#732FA0
secondary
#8DBE6D
accent
#DE4A85
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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