#732CA1#732CA1

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

Color values

HEX#732CA1
RGBrgb(115, 44, 161)
HSLhsl(276, 57%, 40%)
HSVhsv(276, 73%, 63%)
CMYKcmyk(28.6%, 72.7%, 0%, 36.9%)
CIE-LABlab(34.02, 50.95, -50.10)
CIE-LCHlch(34.02, 71.45, 315.48°)
OKLaboklab(45.39% 0.113 -0.142)
OKLCHoklch(45.39% 0.182 308.5)
XYZxyz(14.4026, 8.0196, 34.5005)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CA1 #5AA12C
analogous
#382CA1 #732CA1 #A12C95
triadic
#732CA1 #A1732C #2CA173
tetradic
#732CA1 #A1382C #5AA12C #2C95A1
square
#732CA1 #A1382C #5AA12C #2C95A1
split-complementary
#732CA1 #95A12C #2CA138
monochromatic
#2E1241 #511F71 #732CA1 #9440CB #AF70D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##732CA1#FFFFFF#000000##FFFFFF
##732CA11.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)
#004DA4
Deuteranopia (green-blind)
#0B519F
Tritanopia (blue-blind)
#6C4764
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #732ca1;
/* rgb */ color: rgb(115, 44, 161);
/* oklch */ color: oklch(45.4% 0.182 308.5);
Tailwind
colors: {
  custom: {
    50: '#a06cbe',
    500: '#732ca1',
    950: '#000000',
  },
}
SCSS
$custom: #732ca1;
$custom-light: #a06cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#732ca1",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 276.41,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45389,
    "c": 0.18152,
    "h": 308.5
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#732CA1
secondary
#8BBF6A
accent
#E04784
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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