#663D7C#663D7C

#663D7C is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.6% C 0.109 H 312.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#663D7C
RGBrgb(102, 61, 124)
HSLhsl(279, 34%, 36%)
HSVhsv(279, 51%, 49%)
CMYKcmyk(17.7%, 50.8%, 0%, 51.4%)
CIE-LABlab(33.17, 30.11, -28.84)
CIE-LCHlch(33.17, 41.70, 316.23°)
OKLaboklab(43.64% 0.0741 -0.0803)
OKLCHoklch(43.64% 0.109 312.7)
XYZxyz(10.7857, 7.6177, 19.9671)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663D7C #537C3D
analogous
#473D7C #663D7C #7C3D73
triadic
#663D7C #7C663D #3D7C66
tetradic
#663D7C #7C473D #537C3D #3D737C
square
#663D7C #7C473D #537C3D #3D737C
split-complementary
#663D7C #737C3D #3D7C47
monochromatic
#23152A #442953 #663D7C #8851A5 #A477BC

Accessibility & contrast

On white

8.32
#663D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#663D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663D7C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663D7C#FFFFFF#000000##FFFFFF
##663D7C1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#3A4F7A
Tritanopia (blue-blind)
#644756
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #663d7c;
/* rgb */ color: rgb(102, 61, 124);
/* oklch */ color: oklch(43.6% 0.109 312.7);
Tailwind
colors: {
  custom: {
    50: '#9374a2',
    500: '#663d7c',
    950: '#000000',
  },
}
SCSS
$custom: #663d7c;
$custom-light: #9374a2;
$custom-dark: #000000;
JSON
{
  "hex": "#663d7c",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 279.048,
    "s": 34.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43638,
    "c": 0.10932,
    "h": 312.7
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#663D7C
secondary
#82A66F
accent
#CA5E84
background
#F9F7FA
surface
#F1EDF3
border
#CBC8CD
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #663D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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