#663A7E#663A7E

#663A7E is a dark, moderate violet. Relative luminance 0.074; OKLCH L 43.3% C 0.117 H 312.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#663A7E
RGBrgb(102, 58, 126)
HSLhsl(279, 37%, 36%)
HSVhsv(279, 54%, 49%)
CMYKcmyk(19%, 54%, 0%, 50.6%)
CIE-LABlab(32.61, 32.35, -30.99)
CIE-LCHlch(32.61, 44.79, 316.23°)
OKLaboklab(43.25% 0.0789 -0.0866)
OKLCHoklch(43.25% 0.117 312.3)
XYZxyz(10.7578, 7.3575, 20.5881)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663A7E #527E3A
analogous
#443A7E #663A7E #7E3A74
triadic
#663A7E #7E663A #3A7E66
tetradic
#663A7E #7E443A #527E3A #3A747E
square
#663A7E #7E443A #527E3A #3A747E
split-complementary
#663A7E #747E3A #3A7E44
monochromatic
#22132A #442754 #663A7E #884DA8 #A474BF

Accessibility & contrast

On white

8.50
#663A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#663A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663A7E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663A7E#FFFFFF#000000##FFFFFF
##663A7E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A80
Deuteranopia (green-blind)
#374E7C
Tritanopia (blue-blind)
#644556
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #663a7e;
/* rgb */ color: rgb(102, 58, 126);
/* oklch */ color: oklch(43.3% 0.117 312.3);
Tailwind
colors: {
  custom: {
    50: '#9372a4',
    500: '#663a7e',
    950: '#000000',
  },
}
SCSS
$custom: #663a7e;
$custom-light: #9372a4;
$custom-dark: #000000;
JSON
{
  "hex": "#663a7e",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 278.824,
    "s": 36.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43254,
    "c": 0.11712,
    "h": 312.3
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#663A7E
secondary
#81A86C
accent
#CD5B83
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #663A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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