#732BC4#732BC4

#732BC4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.218 H 299.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#732BC4
RGBrgb(115, 43, 196)
HSLhsl(268, 64%, 47%)
HSVhsv(268, 78%, 77%)
CMYKcmyk(41.3%, 78.1%, 0%, 23.1%)
CIE-LABlab(36.66, 59.57, -66.60)
CIE-LCHlch(36.66, 89.36, 311.81°)
OKLaboklab(48.11% 0.1061 -0.1905)
OKLCHoklch(48.11% 0.218 299.1)
XYZxyz(17.8954, 9.3579, 53.0773)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732BC4 #7CC42B
analogous
#2B30C4 #732BC4 #C02BC4
triadic
#732BC4 #C4732B #2BC473
tetradic
#732BC4 #C42B30 #7CC42B #2BC4C0
square
#732BC4 #C42B30 #7CC42B #2BC4C0
split-complementary
#732BC4 #C4C02B #30C42B
monochromatic
#381560 #562092 #732BC4 #9253D9 #B285E4

Accessibility & contrast

On white

7.31
#732BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#732BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732BC4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732BC4#FFFFFF#000000##FFFFFF
##732BC41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#5F5577
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #732bc4;
/* rgb */ color: rgb(115, 43, 196);
/* oklch */ color: oklch(48.1% 0.218 299.1);
Tailwind
colors: {
  custom: {
    50: '#a36dd7',
    500: '#732bc4',
    950: '#000000',
  },
}
SCSS
$custom: #732bc4;
$custom-light: #a36dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#732bc4",
  "rgb": {
    "r": 115,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 268.235,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48114,
    "c": 0.21807,
    "h": 299.1
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#732BC4
secondary
#A8CE7D
accent
#E74199
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #732BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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