#6732AB#6732AB

#6732AB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.182 H 298.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6732AB
RGBrgb(103, 50, 171)
HSLhsl(266, 55%, 43%)
HSVhsv(266, 71%, 67%)
CMYKcmyk(39.8%, 70.8%, 0%, 32.9%)
CIE-LABlab(34.20, 48.20, -55.90)
CIE-LCHlch(34.20, 73.81, 310.77°)
OKLaboklab(45.41% 0.0882 -0.1595)
OKLCHoklch(45.41% 0.182 298.9)
XYZxyz(14.0829, 8.1049, 39.3426)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6732AB #76AB32
analogous
#3239AB #6732AB #A332AB
triadic
#6732AB #AB6732 #32AB67
tetradic
#6732AB #AB3239 #76AB32 #32ABA3
square
#6732AB #AB3239 #76AB32 #32ABA3
split-complementary
#6732AB #ABA332 #39AB32
monochromatic
#2E164C #4A247C #6732AB #854FCB #A67ED9

Accessibility & contrast

On white

8.01
#6732AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6732AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6732AB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6732AB#FFFFFF#000000##FFFFFF
##6732AB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#574F6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6732ab;
/* rgb */ color: rgb(103, 50, 171);
/* oklch */ color: oklch(45.4% 0.182 298.9);
Tailwind
colors: {
  custom: {
    50: '#986ec5',
    500: '#6732ab',
    950: '#000000',
  },
}
SCSS
$custom: #6732ab;
$custom-light: #986ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#6732ab",
  "rgb": {
    "r": 103,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 266.281,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45411,
    "c": 0.1823,
    "h": 298.9
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#6732AB
secondary
#A1C277
accent
#DE4A9D
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6732AB

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

Preview Lab → · Contrast checker → · Palette generator →

#6732AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva