#663E8D#663E8D

#663E8D is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.9% C 0.129 H 305.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#663E8D
RGBrgb(102, 62, 141)
HSLhsl(270, 39%, 40%)
HSVhsv(270, 56%, 55%)
CMYKcmyk(27.7%, 56%, 0%, 44.7%)
CIE-LABlab(34.38, 33.73, -37.44)
CIE-LCHlch(34.38, 50.39, 312.02°)
OKLaboklab(44.85% 0.0743 -0.1054)
OKLCHoklch(44.85% 0.129 305.2)
XYZxyz(12.0088, 8.1932, 26.1429)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663E8D #658D3E
analogous
#3F3E8D #663E8D #8D3E8C
triadic
#663E8D #8D663E #3E8D66
tetradic
#663E8D #8D3F3E #658D3E #3E8C8D
square
#663E8D #8D3F3E #658D3E #3E8C8D
split-complementary
#663E8D #8C8D3E #3E8D3F
monochromatic
#281938 #472B62 #663E8D #8554B4 #A37FC7

Accessibility & contrast

On white

7.96
#663E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#663E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663E8D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663E8D#FFFFFF#000000##FFFFFF
##663E8D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#5F4D5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #663e8d;
/* rgb */ color: rgb(102, 62, 141);
/* oklch */ color: oklch(44.9% 0.129 305.2);
Tailwind
colors: {
  custom: {
    50: '#9475af',
    500: '#663e8d',
    950: '#000000',
  },
}
SCSS
$custom: #663e8d;
$custom-light: #9475af;
$custom-dark: #000000;
JSON
{
  "hex": "#663e8d",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 270.38,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.12895,
    "h": 305.2
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#663E8D
secondary
#93B176
accent
#CF5993
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #663E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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