#6632B2#6632B2

#6632B2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.190 H 296.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6632B2
RGBrgb(102, 50, 178)
HSLhsl(264, 56%, 45%)
HSVhsv(264, 72%, 70%)
CMYKcmyk(42.7%, 71.9%, 0%, 30.2%)
CIE-LABlab(34.64, 49.83, -59.36)
CIE-LCHlch(34.64, 77.50, 310.01°)
OKLaboklab(45.87% 0.0854 -0.1698)
OKLCHoklch(45.87% 0.19 296.7)
XYZxyz(14.6539, 8.3200, 42.9447)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6632B2 #7EB232
analogous
#323EB2 #6632B2 #A632B2
triadic
#6632B2 #B26632 #32B266
tetradic
#6632B2 #B2323E #7EB232 #32B2A6
square
#6632B2 #B2323E #7EB232 #32B2A6
split-complementary
#6632B2 #B2A632 #3EB232
monochromatic
#2F1752 #4B2582 #6632B2 #8553CF #A782DC

Accessibility & contrast

On white

7.88
#6632B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6632B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6632B2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6632B2#FFFFFF#000000##FFFFFF
##6632B21.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6632b2;
/* rgb */ color: rgb(102, 50, 178);
/* oklch */ color: oklch(45.9% 0.190 296.7);
Tailwind
colors: {
  custom: {
    50: '#986eca',
    500: '#6632b2',
    950: '#000000',
  },
}
SCSS
$custom: #6632b2;
$custom-light: #986eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6632b2",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 264.375,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45872,
    "c": 0.19004,
    "h": 296.7
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#6632B2
secondary
#A7C57B
accent
#DF48A2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6632B2

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

Preview Lab → · Contrast checker → · Palette generator →

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