#6732A2#6732A2

#6732A2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.172 H 301.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6732A2
RGBrgb(103, 50, 162)
HSLhsl(268, 53%, 42%)
HSVhsv(268, 69%, 64%)
CMYKcmyk(36.4%, 69.1%, 0%, 36.5%)
CIE-LABlab(33.51, 45.89, -51.62)
CIE-LCHlch(33.51, 69.07, 311.64°)
OKLaboklab(44.7% 0.0896 -0.147)
OKLCHoklch(44.7% 0.172 301.4)
XYZxyz(13.2541, 7.7733, 34.9775)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6732A2 #6DA232
analogous
#3235A2 #6732A2 #9F32A2
triadic
#6732A2 #A26732 #32A267
tetradic
#6732A2 #A23235 #6DA232 #32A29F
square
#6732A2 #A23235 #6DA232 #32A29F
split-complementary
#6732A2 #A29F32 #35A232
monochromatic
#2C1544 #492473 #6732A2 #854AC7 #A579D6

Accessibility & contrast

On white

8.22
#6732A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6732A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6732A2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6732A2#FFFFFF#000000##FFFFFF
##6732A21.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#5A4C66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6732a2;
/* rgb */ color: rgb(103, 50, 162);
/* oklch */ color: oklch(44.7% 0.172 301.4);
Tailwind
colors: {
  custom: {
    50: '#976ebe',
    500: '#6732a2',
    950: '#000000',
  },
}
SCSS
$custom: #6732a2;
$custom-light: #976ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#6732a2",
  "rgb": {
    "r": 103,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 268.393,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.17215,
    "h": 301.4
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#6732A2
secondary
#9ABE72
accent
#DC4C98
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6732A2

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

Preview Lab → · Contrast checker → · Palette generator →

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