#6732A4#6732A4

#6732A4 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.174 H 300.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#6732A4
RGBrgb(103, 50, 164)
HSLhsl(268, 53%, 42%)
HSVhsv(268, 70%, 64%)
CMYKcmyk(37.2%, 69.5%, 0%, 35.7%)
CIE-LABlab(33.66, 46.40, -52.58)
CIE-LCHlch(33.66, 70.13, 311.43°)
OKLaboklab(44.85% 0.0893 -0.1498)
OKLCHoklch(44.85% 0.174 300.8)
XYZxyz(13.4333, 7.8450, 35.9213)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6732A4 #6FA432
analogous
#3236A4 #6732A4 #A032A4
triadic
#6732A4 #A46732 #32A467
tetradic
#6732A4 #A43236 #6FA432 #32A4A0
square
#6732A4 #A43236 #6FA432 #32A4A0
split-complementary
#6732A4 #A4A032 #36A432
monochromatic
#2C1546 #4A2475 #6732A4 #854BC8 #A57AD6

Accessibility & contrast

On white

8.17
#6732A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6732A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6732A4
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6732A4#FFFFFF#000000##FFFFFF
##6732A41.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#5A4D67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6732a4;
/* rgb */ color: rgb(103, 50, 164);
/* oklch */ color: oklch(44.9% 0.174 300.8);
Tailwind
colors: {
  custom: {
    50: '#976ec0',
    500: '#6732a4',
    950: '#000000',
  },
}
SCSS
$custom: #6732a4;
$custom-light: #976ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#6732a4",
  "rgb": {
    "r": 103,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 267.895,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.17441,
    "h": 300.8
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

primary
#6732A4
secondary
#9CBF73
accent
#DD4B99
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6732A4

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

Preview Lab → · Contrast checker → · Palette generator →

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