#663DB4#663DB4

#663DB4 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.179 H 294.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#663DB4
RGBrgb(102, 61, 180)
HSLhsl(261, 49%, 47%)
HSVhsv(261, 66%, 71%)
CMYKcmyk(43.3%, 66.1%, 0%, 29.4%)
CIE-LABlab(36.85, 44.69, -56.95)
CIE-LCHlch(36.85, 72.39, 308.12°)
OKLaboklab(47.5% 0.0739 -0.1627)
OKLCHoklch(47.5% 0.179 294.4)
XYZxyz(15.3842, 9.4572, 44.1860)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DB4 #8BB43D
analogous
#3D50B4 #663DB4 #A23DB4
triadic
#663DB4 #B4663D #3DB466
tetradic
#663DB4 #B43D50 #8BB43D #3DB4A2
square
#663DB4 #B43D50 #8BB43D #3DB4A2
split-complementary
#663DB4 #B4A23D #50B43D
monochromatic
#321E59 #4C2E86 #663DB4 #8764CA #AA92DA

Accessibility & contrast

On white

7.26
#663DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#663DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663DB4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DB4#FFFFFF#000000##FFFFFF
##663DB41.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#515973
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663db4;
/* rgb */ color: rgb(102, 61, 180);
/* oklch */ color: oklch(47.5% 0.179 294.4);
Tailwind
colors: {
  custom: {
    50: '#9875cb',
    500: '#663db4',
    950: '#000000',
  },
}
SCSS
$custom: #663db4;
$custom-light: #9875cb;
$custom-dark: #000000;
JSON
{
  "hex": "#663db4",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 260.672,
    "s": 49.378,
    "l": 47.255
  },
  "oklch": {
    "l": 0.475,
    "c": 0.17871,
    "h": 294.4
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#663DB4
secondary
#B0C588
accent
#D94FA9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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