#663BA1#663BA1

#663BA1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.158 H 299.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#663BA1
RGBrgb(102, 59, 161)
HSLhsl(265, 46%, 43%)
HSVhsv(265, 63%, 63%)
CMYKcmyk(36.6%, 63.4%, 0%, 36.9%)
CIE-LABlab(35.05, 40.65, -48.52)
CIE-LCHlch(35.05, 63.30, 309.96°)
OKLaboklab(45.76% 0.078 -0.1379)
OKLCHoklch(45.76% 0.158 299.5)
XYZxyz(13.4749, 8.5258, 34.6470)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BA1 #76A13B
analogous
#3B43A1 #663BA1 #993BA1
triadic
#663BA1 #A1663B #3BA166
tetradic
#663BA1 #A13B43 #76A13B #3BA199
square
#663BA1 #A13B43 #76A13B #3BA199
split-complementary
#663BA1 #A1993B #43A13B
monochromatic
#2D1A47 #4A2B74 #663BA1 #8458C2 #A584D2

Accessibility & contrast

On white

7.76
#663BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#663BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BA1
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BA1#FFFFFF#000000##FFFFFF
##663BA11.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#10529F
Tritanopia (blue-blind)
#595168
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #663ba1;
/* rgb */ color: rgb(102, 59, 161);
/* oklch */ color: oklch(45.8% 0.158 299.5);
Tailwind
colors: {
  custom: {
    50: '#9673bd',
    500: '#663ba1',
    950: '#000000',
  },
}
SCSS
$custom: #663ba1;
$custom-light: #9673bd;
$custom-dark: #000000;
JSON
{
  "hex": "#663ba1",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 265.294,
    "s": 46.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45763,
    "c": 0.15843,
    "h": 299.5
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#663BA1
secondary
#A1BC7C
accent
#D6529E
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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