#663DB3#663DB3

#663DB3 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.178 H 294.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#663DB3
RGBrgb(102, 61, 179)
HSLhsl(261, 49%, 47%)
HSVhsv(261, 66%, 70%)
CMYKcmyk(43%, 65.9%, 0%, 29.8%)
CIE-LABlab(36.77, 44.41, -56.48)
CIE-LCHlch(36.77, 71.85, 308.18°)
OKLaboklab(47.42% 0.074 -0.1613)
OKLCHoklch(47.42% 0.178 294.6)
XYZxyz(15.2827, 9.4166, 43.6515)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DB3 #8AB33D
analogous
#3D4FB3 #663DB3 #A13DB3
triadic
#663DB3 #B3663D #3DB366
tetradic
#663DB3 #B33D4F #8AB33D #3DB3A1
square
#663DB3 #B33D4F #8AB33D #3DB3A1
split-complementary
#663DB3 #B3A13D #4FB33D
monochromatic
#321E58 #4C2D85 #663DB3 #8763CA #AA91D9

Accessibility & contrast

On white

7.28
#663DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#663DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663DB3
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DB3#FFFFFF#000000##FFFFFF
##663DB31.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#515973
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #663db3;
/* rgb */ color: rgb(102, 61, 179);
/* oklch */ color: oklch(47.4% 0.178 294.6);
Tailwind
colors: {
  custom: {
    50: '#9875cb',
    500: '#663db3',
    950: '#000000',
  },
}
SCSS
$custom: #663db3;
$custom-light: #9875cb;
$custom-dark: #000000;
JSON
{
  "hex": "#663db3",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 260.847,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47422,
    "c": 0.17751,
    "h": 294.6
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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