#732EA0#732EA0

#732EA0 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.178 H 308.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#732EA0
RGBrgb(115, 46, 160)
HSLhsl(276, 55%, 40%)
HSVhsv(276, 71%, 63%)
CMYKcmyk(28.1%, 71.2%, 0%, 37.3%)
CIE-LABlab(34.27, 49.83, -49.10)
CIE-LCHlch(34.27, 69.96, 315.42°)
OKLaboklab(45.54% 0.1111 -0.1391)
OKLCHoklch(45.54% 0.178 308.6)
XYZxyz(14.3911, 8.1371, 34.0634)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EA0 #5BA02E
analogous
#3A2EA0 #732EA0 #A02E94
triadic
#732EA0 #A0732E #2EA073
tetradic
#732EA0 #A03A2E #5BA02E #2E94A0
square
#732EA0 #A03A2E #5BA02E #2E94A0
split-complementary
#732EA0 #94A02E #2EA03A
monochromatic
#2F1341 #512070 #732EA0 #9442C9 #AF72D6

Accessibility & contrast

On white

7.99
#732EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#732EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732EA0
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EA0#FFFFFF#000000##FFFFFF
##732EA01.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732ea0;
/* rgb */ color: rgb(115, 46, 160);
/* oklch */ color: oklch(45.5% 0.178 308.6);
Tailwind
colors: {
  custom: {
    50: '#9f6dbd',
    500: '#732ea0',
    950: '#000000',
  },
}
SCSS
$custom: #732ea0;
$custom-light: #9f6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#732ea0",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 276.316,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45538,
    "c": 0.17802,
    "h": 308.6
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#732EA0
secondary
#8CBE6C
accent
#DF4984
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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