#663BA4#663BA4

#663BA4 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.162 H 298.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#663BA4
RGBrgb(102, 59, 164)
HSLhsl(265, 47%, 44%)
HSVhsv(265, 64%, 64%)
CMYKcmyk(37.8%, 64%, 0%, 35.7%)
CIE-LABlab(35.27, 41.45, -49.98)
CIE-LCHlch(35.27, 64.93, 309.67°)
OKLaboklab(45.99% 0.0778 -0.1422)
OKLCHoklch(45.99% 0.162 298.7)
XYZxyz(13.7426, 8.6329, 36.0570)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BA4 #79A43B
analogous
#3B45A4 #663BA4 #9A3BA4
triadic
#663BA4 #A4663B #3BA466
tetradic
#663BA4 #A43B45 #79A43B #3BA49A
square
#663BA4 #A43B45 #79A43B #3BA49A
split-complementary
#663BA4 #A49A3B #45A43B
monochromatic
#2E1B4A #4A2B77 #663BA4 #8459C3 #A686D3

Accessibility & contrast

On white

7.70
#663BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#663BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BA4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BA4#FFFFFF#000000##FFFFFF
##663BA41.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0652A2
Tritanopia (blue-blind)
#58526A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #663ba4;
/* rgb */ color: rgb(102, 59, 164);
/* oklch */ color: oklch(46.0% 0.162 298.7);
Tailwind
colors: {
  custom: {
    50: '#9673c0',
    500: '#663ba4',
    950: '#000000',
  },
}
SCSS
$custom: #663ba4;
$custom-light: #9673c0;
$custom-dark: #000000;
JSON
{
  "hex": "#663ba4",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 264.571,
    "s": 47.085,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45985,
    "c": 0.16209,
    "h": 298.7
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#663BA4
secondary
#A3BE7D
accent
#D751A0
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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