#663F78#663F78

#663F78 is a dark, moderate purple. Relative luminance 0.077; OKLCH L 43.8% C 0.101 H 314.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#663F78
RGBrgb(102, 63, 120)
HSLhsl(281, 31%, 36%)
HSVhsv(281, 48%, 47%)
CMYKcmyk(15%, 47.5%, 0%, 52.9%)
CIE-LABlab(33.43, 27.98, -25.95)
CIE-LCHlch(33.43, 38.16, 317.15°)
OKLaboklab(43.76% 0.0704 -0.072)
OKLCHoklch(43.76% 0.101 314.4)
XYZxyz(10.6466, 7.7361, 18.6980)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663F78 #51783F
analogous
#493F78 #663F78 #783F6D
triadic
#663F78 #78663F #3F7866
tetradic
#663F78 #78493F #51783F #3F6D78
square
#663F78 #78493F #51783F #3F6D78
split-complementary
#663F78 #6D783F #3F7849
monochromatic
#221528 #442A50 #663F78 #8854A0 #A479B9

Accessibility & contrast

On white

8.24
#663F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#663F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663F78
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663F78#FFFFFF#000000##FFFFFF
##663F781.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344C7A
Deuteranopia (green-blind)
#3E5076
Tritanopia (blue-blind)
#654756
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #663f78;
/* rgb */ color: rgb(102, 63, 120);
/* oklch */ color: oklch(43.8% 0.101 314.4);
Tailwind
colors: {
  custom: {
    50: '#93759f',
    500: '#663f78',
    950: '#000000',
  },
}
SCSS
$custom: #663f78;
$custom-light: #93759f;
$custom-dark: #000000;
JSON
{
  "hex": "#663f78",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 281.053,
    "s": 31.148,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43757,
    "c": 0.10068,
    "h": 314.4
  },
  "luminance": 0.07736
}

Semantic roles & 50–950 ramp

primary
#663F78
secondary
#80A370
accent
#C76081
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #663F78

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

Preview Lab → · Contrast checker → · Palette generator →

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