#732FBF#732FBF

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

Color values

HEX#732FBF
RGBrgb(115, 47, 191)
HSLhsl(268, 61%, 47%)
HSVhsv(268, 75%, 75%)
CMYKcmyk(39.8%, 75.4%, 0%, 25.1%)
CIE-LABlab(36.82, 56.73, -63.42)
CIE-LCHlch(36.82, 85.09, 311.81°)
OKLaboklab(48.09% 0.1041 -0.1812)
OKLCHoklch(48.09% 0.209 299.9)
XYZxyz(17.4884, 9.4393, 50.1807)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FBF #7BBF2F
analogous
#2F33BF #732FBF #BB2FBF
triadic
#732FBF #BF732F #2FBF73
tetradic
#732FBF #BF2F33 #7BBF2F #2FBFBB
square
#732FBF #BF2F33 #7BBF2F #2FBFBB
split-complementary
#732FBF #BFBB2F #33BF2F
monochromatic
#38175D #55238E #732FBF #9256D5 #B287E1

Accessibility & contrast

On white

7.27
#732FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#732FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FBF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FBF#FFFFFF#000000##FFFFFF
##732FBF1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732fbf;
/* rgb */ color: rgb(115, 47, 191);
/* oklch */ color: oklch(48.1% 0.209 299.9);
Tailwind
colors: {
  custom: {
    50: '#a26fd3',
    500: '#732fbf',
    950: '#000000',
  },
}
SCSS
$custom: #732fbf;
$custom-light: #a26fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#732fbf",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 268.333,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48092,
    "c": 0.20898,
    "h": 299.9
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#732FBF
secondary
#A7CB7F
accent
#E44498
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #732FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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