#663A8A#663A8A

#663A8A is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.0% C 0.132 H 307.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#663A8A
RGBrgb(102, 58, 138)
HSLhsl(273, 41%, 38%)
HSVhsv(273, 58%, 54%)
CMYKcmyk(26.1%, 58%, 0%, 45.9%)
CIE-LABlab(33.32, 35.28, -37.29)
CIE-LCHlch(33.32, 51.33, 313.41°)
OKLaboklab(44.01% 0.0797 -0.105)
OKLCHoklch(44.01% 0.132 307.2)
XYZxyz(11.5791, 7.6860, 24.9134)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663A8A #5E8A3A
analogous
#3E3A8A #663A8A #8A3A86
triadic
#663A8A #8A663A #3A8A66
tetradic
#663A8A #8A3E3A #5E8A3A #3A868A
square
#663A8A #8A3E3A #5E8A3A #3A868A
split-complementary
#663A8A #868A3A #3A8A3E
monochromatic
#261634 #46285F #663A8A #864DB4 #A378C6

Accessibility & contrast

On white

8.28
#663A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#663A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663A8A
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663A8A#FFFFFF#000000##FFFFFF
##663A8A1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#2E4F88
Tritanopia (blue-blind)
#60495C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #663a8a;
/* rgb */ color: rgb(102, 58, 138);
/* oklch */ color: oklch(44.0% 0.132 307.2);
Tailwind
colors: {
  custom: {
    50: '#9472ac',
    500: '#663a8a',
    950: '#000000',
  },
}
SCSS
$custom: #663a8a;
$custom-light: #9472ac;
$custom-dark: #000000;
JSON
{
  "hex": "#663a8a",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 273,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4401,
    "c": 0.1318,
    "h": 307.2
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#663A8A
secondary
#8DB070
accent
#D1578E
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #663A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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