#663192#663192

#663192 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.155 H 306.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#663192
RGBrgb(102, 49, 146)
HSLhsl(273, 50%, 38%)
HSVhsv(273, 66%, 57%)
CMYKcmyk(30.1%, 66.4%, 0%, 42.7%)
CIE-LABlab(32.03, 42.17, -44.29)
CIE-LCHlch(32.03, 61.16, 313.60°)
OKLaboklab(43.24% 0.0912 -0.1254)
OKLCHoklch(43.24% 0.155 306)
XYZxyz(11.7650, 7.0968, 27.9386)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663192 #5D9231
analogous
#363192 #663192 #92318D
triadic
#663192 #926631 #319266
tetradic
#663192 #923631 #5D9231 #318D92
square
#663192 #923631 #5D9231 #318D92
split-complementary
#663192 #8D9231 #319236
monochromatic
#261236 #462264 #663192 #8641BF #A36FCF

Accessibility & contrast

On white

8.68
#663192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#663192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663192
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663192#FFFFFF#000000##FFFFFF
##6631921.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#194C90
Tritanopia (blue-blind)
#5E465D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #663192;
/* rgb */ color: rgb(102, 49, 146);
/* oklch */ color: oklch(43.2% 0.155 306.0);
Tailwind
colors: {
  custom: {
    50: '#956db3',
    500: '#663192',
    950: '#000000',
  },
}
SCSS
$custom: #663192;
$custom-light: #956db3;
$custom-dark: #000000;
JSON
{
  "hex": "#663192",
  "rgb": {
    "r": 102,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 272.784,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43238,
    "c": 0.15508,
    "h": 306
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

primary
#663192
secondary
#8CB669
accent
#D94F8D
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #663192

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

Preview Lab → · Contrast checker → · Palette generator →

#663192 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva