#663DD1#663DD1

#663DD1 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.9% C 0.213 H 289.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#663DD1
RGBrgb(102, 61, 209)
HSLhsl(257, 62%, 53%)
HSVhsv(257, 71%, 82%)
CMYKcmyk(51.2%, 70.8%, 0%, 18%)
CIE-LABlab(39.18, 52.71, -70.10)
CIE-LCHlch(39.18, 87.71, 306.94°)
OKLaboklab(49.89% 0.0692 -0.2013)
OKLCHoklch(49.89% 0.213 289)
XYZxyz(18.6535, 10.7649, 61.4042)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DD1 #A8D13D
analogous
#3D5ED1 #663DD1 #B03DD1
triadic
#663DD1 #D1663D #3DD166
tetradic
#663DD1 #D13D5E #A8D13D #3DD1B0
square
#663DD1 #D13D5E #A8D13D #3DD1B0
split-complementary
#663DD1 #D1B03D #5ED13D
monochromatic
#361C77 #4C28A9 #663DD1 #8D6EDD #B4A0E8

Accessibility & contrast

On white

6.66
#663DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#663DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DD1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DD1#FFFFFF#000000##FFFFFF
##663DD11.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD5
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#3F6483
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #663dd1;
/* rgb */ color: rgb(102, 61, 209);
/* oklch */ color: oklch(49.9% 0.213 289.0);
Tailwind
colors: {
  custom: {
    50: '#9b76e0',
    500: '#663dd1',
    950: '#000000',
  },
}
SCSS
$custom: #663dd1;
$custom-light: #9b76e0;
$custom-dark: #000000;
JSON
{
  "hex": "#663dd1",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 209
  },
  "hsl": {
    "h": 256.622,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49893,
    "c": 0.21287,
    "h": 289
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

primary
#663DD1
secondary
#C3D595
accent
#E543B8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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