#663BA3#663BA3

#663BA3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.161 H 298.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#663BA3
RGBrgb(102, 59, 163)
HSLhsl(265, 47%, 44%)
HSVhsv(265, 64%, 64%)
CMYKcmyk(37.4%, 63.8%, 0%, 36.1%)
CIE-LABlab(35.20, 41.18, -49.49)
CIE-LCHlch(35.20, 64.38, 309.76°)
OKLaboklab(45.91% 0.0778 -0.1408)
OKLCHoklch(45.91% 0.161 298.9)
XYZxyz(13.6527, 8.5969, 35.5833)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BA3 #78A33B
analogous
#3B44A3 #663BA3 #9A3BA3
triadic
#663BA3 #A3663B #3BA366
tetradic
#663BA3 #A33B44 #78A33B #3BA39A
square
#663BA3 #A33B44 #78A33B #3BA39A
split-complementary
#663BA3 #A39A3B #44A33B
monochromatic
#2E1A49 #4A2B76 #663BA3 #8458C3 #A585D3

Accessibility & contrast

On white

7.72
#663BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#663BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BA3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BA3#FFFFFF#000000##FFFFFF
##663BA31.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0A52A1
Tritanopia (blue-blind)
#585269
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #663ba3;
/* rgb */ color: rgb(102, 59, 163);
/* oklch */ color: oklch(45.9% 0.161 298.9);
Tailwind
colors: {
  custom: {
    50: '#9673bf',
    500: '#663ba3',
    950: '#000000',
  },
}
SCSS
$custom: #663ba3;
$custom-light: #9673bf;
$custom-dark: #000000;
JSON
{
  "hex": "#663ba3",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 264.808,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45911,
    "c": 0.16087,
    "h": 298.9
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#663BA3
secondary
#A2BD7D
accent
#D6519F
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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