#732CA0#732CA0

#732CA0 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.180 H 308.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#732CA0
RGBrgb(115, 44, 160)
HSLhsl(277, 57%, 40%)
HSVhsv(277, 73%, 63%)
CMYKcmyk(28.1%, 72.5%, 0%, 37.3%)
CIE-LABlab(33.95, 50.72, -49.62)
CIE-LCHlch(33.95, 70.95, 315.63°)
OKLaboklab(45.31% 0.1132 -0.1406)
OKLCHoklch(45.31% 0.181 308.8)
XYZxyz(14.3148, 7.9845, 34.0380)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CA0 #59A02C
analogous
#392CA0 #732CA0 #A02C93
triadic
#732CA0 #A0732C #2CA073
tetradic
#732CA0 #A0392C #59A02C #2C93A0
square
#732CA0 #A0392C #59A02C #2C93A0
split-complementary
#732CA0 #93A02C #2CA039
monochromatic
#2E1240 #501F70 #732CA0 #943FCA #AF6FD7

Accessibility & contrast

On white

8.09
#732CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732CA0
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CA0#FFFFFF#000000##FFFFFF
##732CA01.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#0E519E
Tritanopia (blue-blind)
#6C4663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #732ca0;
/* rgb */ color: rgb(115, 44, 160);
/* oklch */ color: oklch(45.3% 0.180 308.8);
Tailwind
colors: {
  custom: {
    50: '#a06cbd',
    500: '#732ca0',
    950: '#000000',
  },
}
SCSS
$custom: #732ca0;
$custom-light: #a06cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#732ca0",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 276.724,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.1805,
    "h": 308.8
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#732CA0
secondary
#8ABF69
accent
#E04883
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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