#6732B2#6732B2

#6732B2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.190 H 297.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6732B2
RGBrgb(103, 50, 178)
HSLhsl(265, 56%, 45%)
HSVhsv(265, 72%, 70%)
CMYKcmyk(42.1%, 71.9%, 0%, 30.2%)
CIE-LABlab(34.76, 50.01, -59.16)
CIE-LCHlch(34.76, 77.47, 310.21°)
OKLaboklab(45.98% 0.0869 -0.1691)
OKLCHoklch(45.98% 0.19 297.2)
XYZxyz(14.7679, 8.3788, 42.9501)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6732B2 #7DB232
analogous
#323DB2 #6732B2 #A732B2
triadic
#6732B2 #B26732 #32B267
tetradic
#6732B2 #B2323D #7DB232 #32B2A7
square
#6732B2 #B2323D #7DB232 #32B2A7
split-complementary
#6732B2 #B2A732 #3DB232
monochromatic
#301752 #4B2582 #6732B2 #8653CF #A882DC

Accessibility & contrast

On white

7.85
#6732B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6732B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6732B2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6732B2#FFFFFF#000000##FFFFFF
##6732B21.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#54526F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6732b2;
/* rgb */ color: rgb(103, 50, 178);
/* oklch */ color: oklch(46.0% 0.190 297.2);
Tailwind
colors: {
  custom: {
    50: '#996fca',
    500: '#6732b2',
    950: '#000000',
  },
}
SCSS
$custom: #6732b2;
$custom-light: #996fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6732b2",
  "rgb": {
    "r": 103,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 264.844,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45983,
    "c": 0.19014,
    "h": 297.2
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#6732B2
secondary
#A6C57B
accent
#DF48A1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6732B2

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

Preview Lab → · Contrast checker → · Palette generator →

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