#6732B1#6732B1

#6732B1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.189 H 297.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6732B1
RGBrgb(103, 50, 177)
HSLhsl(265, 56%, 45%)
HSVhsv(265, 72%, 69%)
CMYKcmyk(41.8%, 71.8%, 0%, 30.6%)
CIE-LABlab(34.68, 49.75, -58.70)
CIE-LCHlch(34.68, 76.94, 310.28°)
OKLaboklab(45.9% 0.0871 -0.1678)
OKLCHoklch(45.9% 0.189 297.4)
XYZxyz(14.6679, 8.3388, 42.4232)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6732B1 #7CB132
analogous
#323DB1 #6732B1 #A632B1
triadic
#6732B1 #B16732 #32B167
tetradic
#6732B1 #B1323D #7CB132 #32B1A6
square
#6732B1 #B1323D #7CB132 #32B1A6
split-complementary
#6732B1 #B1A632 #3DB132
monochromatic
#2F1752 #4B2581 #6732B1 #8652CE #A782DC

Accessibility & contrast

On white

7.87
#6732B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6732B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6732B1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6732B1#FFFFFF#000000##FFFFFF
##6732B11.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#54526E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6732b1;
/* rgb */ color: rgb(103, 50, 177);
/* oklch */ color: oklch(45.9% 0.189 297.4);
Tailwind
colors: {
  custom: {
    50: '#996ec9',
    500: '#6732b1',
    950: '#000000',
  },
}
SCSS
$custom: #6732b1;
$custom-light: #996ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6732b1",
  "rgb": {
    "r": 103,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 265.039,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.459,
    "c": 0.18903,
    "h": 297.4
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#6732B1
secondary
#A6C57A
accent
#DF49A0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6732B1

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

Preview Lab → · Contrast checker → · Palette generator →

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