#663DA3#663DA3

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

Color values

HEX#663DA3
RGBrgb(102, 61, 163)
HSLhsl(264, 46%, 44%)
HSVhsv(264, 63%, 64%)
CMYKcmyk(37.4%, 62.6%, 0%, 36.1%)
CIE-LABlab(35.61, 40.07, -48.83)
CIE-LCHlch(35.61, 63.16, 309.38°)
OKLaboklab(46.21% 0.0755 -0.1388)
OKLCHoklch(46.21% 0.158 298.5)
XYZxyz(13.7574, 8.8064, 35.6182)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DA3 #7AA33D
analogous
#3D47A3 #663DA3 #993DA3
triadic
#663DA3 #A3663D #3DA366
tetradic
#663DA3 #A33D47 #7AA33D #3DA399
square
#663DA3 #A33D47 #7AA33D #3DA399
split-complementary
#663DA3 #A3993D #47A33D
monochromatic
#2E1C4A #4A2C76 #663DA3 #855BC2 #A688D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##663DA3#FFFFFF#000000##FFFFFF
##663DA31.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)
#0054A6
Deuteranopia (green-blind)
#1153A1
Tritanopia (blue-blind)
#58536A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663da3;
/* rgb */ color: rgb(102, 61, 163);
/* oklch */ color: oklch(46.2% 0.158 298.5);
Tailwind
colors: {
  custom: {
    50: '#9675bf',
    500: '#663da3',
    950: '#000000',
  },
}
SCSS
$custom: #663da3;
$custom-light: #9675bf;
$custom-dark: #000000;
JSON
{
  "hex": "#663da3",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 264.118,
    "s": 45.536,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4621,
    "c": 0.158,
    "h": 298.5
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#663DA3
secondary
#A4BD7F
accent
#D553A1
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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