#663DA4#663DA4

#663DA4 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.3% C 0.159 H 298.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#663DA4
RGBrgb(102, 61, 164)
HSLhsl(264, 46%, 44%)
HSVhsv(264, 63%, 64%)
CMYKcmyk(37.8%, 62.8%, 0%, 35.7%)
CIE-LABlab(35.68, 40.34, -49.31)
CIE-LCHlch(35.68, 63.71, 309.29°)
OKLaboklab(46.28% 0.0754 -0.1403)
OKLCHoklch(46.28% 0.159 298.3)
XYZxyz(13.8474, 8.8424, 36.0920)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DA4 #7BA43D
analogous
#3D48A4 #663DA4 #9A3DA4
triadic
#663DA4 #A4663D #3DA466
tetradic
#663DA4 #A43D48 #7BA43D #3DA49A
square
#663DA4 #A43D48 #7BA43D #3DA49A
split-complementary
#663DA4 #A49A3D #48A43D
monochromatic
#2F1C4B #4A2C77 #663DA4 #855CC2 #A688D3

Accessibility & contrast

On white

7.59
#663DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#663DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663DA4
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DA4#FFFFFF#000000##FFFFFF
##663DA41.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0E53A2
Tritanopia (blue-blind)
#58546B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663da4;
/* rgb */ color: rgb(102, 61, 164);
/* oklch */ color: oklch(46.3% 0.159 298.3);
Tailwind
colors: {
  custom: {
    50: '#9675c0',
    500: '#663da4',
    950: '#000000',
  },
}
SCSS
$custom: #663da4;
$custom-light: #9675c0;
$custom-dark: #000000;
JSON
{
  "hex": "#663da4",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 263.883,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46284,
    "c": 0.15923,
    "h": 298.3
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#663DA4
secondary
#A5BD7F
accent
#D552A1
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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