#6632B5#6632B5

#6632B5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.193 H 296.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6632B5
RGBrgb(102, 50, 181)
HSLhsl(264, 57%, 45%)
HSVhsv(264, 72%, 71%)
CMYKcmyk(43.6%, 72.4%, 0%, 29%)
CIE-LABlab(34.89, 50.61, -60.74)
CIE-LCHlch(34.89, 79.06, 309.80°)
OKLaboklab(46.12% 0.0848 -0.1738)
OKLCHoklch(46.12% 0.193 296)
XYZxyz(14.9584, 8.4418, 44.5484)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6632B5 #81B532
analogous
#323FB5 #6632B5 #A832B5
triadic
#6632B5 #B56632 #32B566
tetradic
#6632B5 #B5323F #81B532 #32B5A8
square
#6632B5 #B5323F #81B532 #32B5A8
split-complementary
#6632B5 #B5A832 #3FB532
monochromatic
#301855 #4B2585 #6632B5 #8554D0 #A884DD

Accessibility & contrast

On white

7.81
#6632B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6632B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6632B5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6632B5#FFFFFF#000000##FFFFFF
##6632B51.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6632b5;
/* rgb */ color: rgb(102, 50, 181);
/* oklch */ color: oklch(46.1% 0.193 296.0);
Tailwind
colors: {
  custom: {
    50: '#996fcc',
    500: '#6632b5',
    950: '#000000',
  },
}
SCSS
$custom: #6632b5;
$custom-light: #996fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6632b5",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 263.817,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46123,
    "c": 0.19339,
    "h": 296
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#6632B5
secondary
#A9C77C
accent
#E048A4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6632B5

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

Preview Lab → · Contrast checker → · Palette generator →

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