#732AA5#732AA5

#732AA5 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.188 H 307.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#732AA5
RGBrgb(115, 42, 165)
HSLhsl(276, 59%, 41%)
HSVhsv(276, 75%, 65%)
CMYKcmyk(30.3%, 74.5%, 0%, 35.3%)
CIE-LABlab(34.02, 52.72, -52.52)
CIE-LCHlch(34.02, 74.41, 315.11°)
OKLaboklab(45.48% 0.1143 -0.1491)
OKLCHoklch(45.48% 0.188 307.5)
XYZxyz(14.6883, 8.0176, 36.3638)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AA5 #5CA52A
analogous
#362AA5 #732AA5 #A52A99
triadic
#732AA5 #A5732A #2AA573
tetradic
#732AA5 #A5362A #5CA52A #2A99A5
square
#732AA5 #A5362A #5CA52A #2A99A5
split-complementary
#732AA5 #99A52A #2AA536
monochromatic
#2F1143 #511E74 #732AA5 #943ECE #AF6FDA

Accessibility & contrast

On white

8.07
#732AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#732AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AA5
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AA5#FFFFFF#000000##FFFFFF
##732AA51.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#6B4765
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #732aa5;
/* rgb */ color: rgb(115, 42, 165);
/* oklch */ color: oklch(45.5% 0.188 307.5);
Tailwind
colors: {
  custom: {
    50: '#a06bc0',
    500: '#732aa5',
    950: '#000000',
  },
}
SCSS
$custom: #732aa5;
$custom-light: #a06bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#732aa5",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 275.61,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45479,
    "c": 0.18792,
    "h": 307.5
  },
  "luminance": 0.08017
}

Semantic roles & 50–950 ramp

primary
#732AA5
secondary
#8DC169
accent
#E34585
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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