#6632B4#6632B4

#6632B4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.192 H 296.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6632B4
RGBrgb(102, 50, 180)
HSLhsl(264, 57%, 45%)
HSVhsv(264, 72%, 71%)
CMYKcmyk(43.3%, 72.2%, 0%, 29.4%)
CIE-LABlab(34.80, 50.35, -60.28)
CIE-LCHlch(34.80, 78.54, 309.87°)
OKLaboklab(46.04% 0.085 -0.1725)
OKLCHoklch(46.04% 0.192 296.2)
XYZxyz(14.8561, 8.4009, 44.0100)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6632B4 #80B432
analogous
#323FB4 #6632B4 #A732B4
triadic
#6632B4 #B46632 #32B466
tetradic
#6632B4 #B4323F #80B432 #32B4A7
square
#6632B4 #B4323F #80B432 #32B4A7
split-complementary
#6632B4 #B4A732 #3FB432
monochromatic
#301754 #4B2584 #6632B4 #8554CF #A784DD

Accessibility & contrast

On white

7.84
#6632B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6632B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6632B4
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6632B4#FFFFFF#000000##FFFFFF
##6632B41.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#515370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6632b4;
/* rgb */ color: rgb(102, 50, 180);
/* oklch */ color: oklch(46.0% 0.192 296.2);
Tailwind
colors: {
  custom: {
    50: '#996fcb',
    500: '#6632b4',
    950: '#000000',
  },
}
SCSS
$custom: #6632b4;
$custom-light: #996fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6632b4",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 264,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.19227,
    "h": 296.2
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#6632B4
secondary
#A8C67C
accent
#E048A3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6632B4

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

Preview Lab → · Contrast checker → · Palette generator →

#6632B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva