#663BA9#663BA9

#663BA9 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.168 H 297.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#663BA9
RGBrgb(102, 59, 169)
HSLhsl(263, 48%, 45%)
HSVhsv(263, 65%, 66%)
CMYKcmyk(39.6%, 65.1%, 0%, 33.7%)
CIE-LABlab(35.63, 42.79, -52.39)
CIE-LCHlch(35.63, 67.64, 309.24°)
OKLaboklab(46.36% 0.0773 -0.1493)
OKLCHoklch(46.36% 0.168 297.4)
XYZxyz(14.2031, 8.8171, 38.4820)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BA9 #7EA93B
analogous
#3B47A9 #663BA9 #9D3BA9
triadic
#663BA9 #A9663B #3BA966
tetradic
#663BA9 #A93B47 #7EA93B #3BA99D
square
#663BA9 #A93B47 #7EA93B #3BA99D
split-complementary
#663BA9 #A99D3B #47A93B
monochromatic
#2F1B4E #4B2B7C #663BA9 #855BC6 #A789D6

Accessibility & contrast

On white

7.60
#663BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#663BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BA9
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BA9#FFFFFF#000000##FFFFFF
##663BA91.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#56546D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663ba9;
/* rgb */ color: rgb(102, 59, 169);
/* oklch */ color: oklch(46.4% 0.168 297.4);
Tailwind
colors: {
  custom: {
    50: '#9773c3',
    500: '#663ba9',
    950: '#000000',
  },
}
SCSS
$custom: #663ba9;
$custom-light: #9773c3;
$custom-dark: #000000;
JSON
{
  "hex": "#663ba9",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 169
  },
  "hsl": {
    "h": 263.455,
    "s": 48.246,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46362,
    "c": 0.16812,
    "h": 297.4
  },
  "luminance": 0.08817
}

Semantic roles & 50–950 ramp

primary
#663BA9
secondary
#A7C080
accent
#D850A3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663BA9

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

Preview Lab → · Contrast checker → · Palette generator →

#663BA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva