#663A79#663A79

#663A79 is a dark, moderate purple. Relative luminance 0.072; OKLCH L 43.0% C 0.111 H 314.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#663A79
RGBrgb(102, 58, 121)
HSLhsl(282, 35%, 35%)
HSVhsv(282, 52%, 47%)
CMYKcmyk(15.7%, 52.1%, 0%, 52.5%)
CIE-LABlab(32.33, 31.17, -28.30)
CIE-LCHlch(32.33, 42.10, 317.76°)
OKLaboklab(42.96% 0.0783 -0.0788)
OKLCHoklch(42.96% 0.111 314.8)
XYZxyz(10.4432, 7.2317, 18.9312)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663A79 #4D793A
analogous
#463A79 #663A79 #793A6C
triadic
#663A79 #79663A #3A7966
tetradic
#663A79 #79463A #4D793A #3A6C79
square
#663A79 #79463A #4D793A #3A6C79
split-complementary
#663A79 #6C793A #3A7946
monochromatic
#201226 #432650 #663A79 #894EA2 #A572BB

Accessibility & contrast

On white

8.58
#663A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#663A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663A79
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663A79#FFFFFF#000000##FFFFFF
##663A791.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#3A4D77
Tritanopia (blue-blind)
#654454
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #663a79;
/* rgb */ color: rgb(102, 58, 121);
/* oklch */ color: oklch(43.0% 0.111 314.8);
Tailwind
colors: {
  custom: {
    50: '#9372a0',
    500: '#663a79',
    950: '#000000',
  },
}
SCSS
$custom: #663a79;
$custom-light: #9372a0;
$custom-dark: #000000;
JSON
{
  "hex": "#663a79",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 281.905,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42957,
    "c": 0.11107,
    "h": 314.8
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#663A79
secondary
#7CA56A
accent
#CB5D7E
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #663A79

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

Preview Lab → · Contrast checker → · Palette generator →

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