#6632AE#6632AE

#6632AE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.186 H 297.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6632AE
RGBrgb(102, 50, 174)
HSLhsl(265, 55%, 44%)
HSVhsv(265, 71%, 68%)
CMYKcmyk(41.4%, 71.3%, 0%, 31.8%)
CIE-LABlab(34.32, 48.79, -57.51)
CIE-LCHlch(34.32, 75.41, 310.31°)
OKLaboklab(45.54% 0.0862 -0.1643)
OKLCHoklch(45.54% 0.186 297.7)
XYZxyz(14.2581, 8.1617, 40.8604)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6632AE #7AAE32
analogous
#323CAE #6632AE #A432AE
triadic
#6632AE #AE6632 #32AE66
tetradic
#6632AE #AE323C #7AAE32 #32AEA4
square
#6632AE #AE323C #7AAE32 #32AEA4
split-complementary
#6632AE #AEA432 #3CAE32
monochromatic
#2E174F #4A247E #6632AE #8550CD #A680DA

Accessibility & contrast

On white

7.98
#6632AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6632AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6632AE
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6632AE#FFFFFF#000000##FFFFFF
##6632AE1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#54516C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6632ae;
/* rgb */ color: rgb(102, 50, 174);
/* oklch */ color: oklch(45.5% 0.186 297.7);
Tailwind
colors: {
  custom: {
    50: '#986ec7',
    500: '#6632ae',
    950: '#000000',
  },
}
SCSS
$custom: #6632ae;
$custom-light: #986ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6632ae",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 265.161,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45542,
    "c": 0.18555,
    "h": 297.7
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#6632AE
secondary
#A4C478
accent
#DF49A0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6632AE

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

Preview Lab → · Contrast checker → · Palette generator →

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