#732DBA#732DBA

#732DBA is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.206 H 301.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#732DBA
RGBrgb(115, 45, 186)
HSLhsl(270, 61%, 45%)
HSVhsv(270, 76%, 73%)
CMYKcmyk(38.2%, 75.8%, 0%, 27.1%)
CIE-LABlab(36.11, 56.37, -61.63)
CIE-LCHlch(36.11, 83.52, 312.45°)
OKLaboklab(47.47% 0.107 -0.1759)
OKLCHoklch(47.47% 0.206 301.3)
XYZxyz(16.8694, 9.0667, 47.3061)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DBA #74BA2D
analogous
#2D2EBA #732DBA #B92DBA
triadic
#732DBA #BA732D #2DBA73
tetradic
#732DBA #BA2D2E #74BA2D #2DBAB9
square
#732DBA #BA2D2E #74BA2D #2DBAB9
split-complementary
#732DBA #BAB92D #2EBA2D
monochromatic
#361557 #552189 #732DBA #9250D5 #B081E0

Accessibility & contrast

On white

7.46
#732DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#732DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DBA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DBA#FFFFFF#000000##FFFFFF
##732DBA1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#635272
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #732dba;
/* rgb */ color: rgb(115, 45, 186);
/* oklch */ color: oklch(47.5% 0.206 301.3);
Tailwind
colors: {
  custom: {
    50: '#a26dd0',
    500: '#732dba',
    950: '#000000',
  },
}
SCSS
$custom: #732dba;
$custom-light: #a26dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#732dba",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 269.787,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4747,
    "c": 0.20594,
    "h": 301.3
  },
  "luminance": 0.09067
}

Semantic roles & 50–950 ramp

primary
#732DBA
secondary
#A2C979
accent
#E44494
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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