#732DBF#732DBF

#732DBF is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.211 H 300.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#732DBF
RGBrgb(115, 45, 191)
HSLhsl(269, 62%, 46%)
HSVhsv(269, 76%, 75%)
CMYKcmyk(39.8%, 76.4%, 0%, 25.1%)
CIE-LABlab(36.52, 57.57, -63.90)
CIE-LCHlch(36.52, 86.01, 312.01°)
OKLaboklab(47.89% 0.1058 -0.1826)
OKLCHoklch(47.89% 0.211 300.1)
XYZxyz(17.4102, 9.2830, 50.1547)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DBF #79BF2D
analogous
#2D30BF #732DBF #BC2DBF
triadic
#732DBF #BF732D #2DBF73
tetradic
#732DBF #BF2D30 #79BF2D #2DBFBC
square
#732DBF #BF2D30 #79BF2D #2DBFBC
split-complementary
#732DBF #BFBC2D #30BF2D
monochromatic
#37165C #55218D #732DBF #9253D6 #B184E2

Accessibility & contrast

On white

7.35
#732DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#732DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DBF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DBF#FFFFFF#000000##FFFFFF
##732DBF1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#615475
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #732dbf;
/* rgb */ color: rgb(115, 45, 191);
/* oklch */ color: oklch(47.9% 0.211 300.1);
Tailwind
colors: {
  custom: {
    50: '#a26ed3',
    500: '#732dbf',
    950: '#000000',
  },
}
SCSS
$custom: #732dbf;
$custom-light: #a26ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#732dbf",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 268.767,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47886,
    "c": 0.21104,
    "h": 300.1
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#732DBF
secondary
#A6CB7C
accent
#E54397
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #732DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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