#663B91#663B91

#663B91 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.6% C 0.139 H 304.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#663B91
RGBrgb(102, 59, 145)
HSLhsl(270, 42%, 40%)
HSVhsv(270, 59%, 57%)
CMYKcmyk(29.7%, 59.3%, 0%, 43.1%)
CIE-LABlab(33.98, 36.48, -40.54)
CIE-LCHlch(33.98, 54.53, 311.98°)
OKLaboklab(44.63% 0.0785 -0.1145)
OKLCHoklch(44.63% 0.139 304.4)
XYZxyz(12.1532, 7.9971, 27.6859)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663B91 #66913B
analogous
#3B3B91 #663B91 #913B91
triadic
#663B91 #91663B #3B9166
tetradic
#663B91 #913B3B #66913B #3B9191
square
#663B91 #913B3B #66913B #3B9191
split-complementary
#663B91 #91913B #3B913B
monochromatic
#29183A #472966 #663B91 #8551B8 #A37CCA

Accessibility & contrast

On white

8.08
#663B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#663B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663B91
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663B91#FFFFFF#000000##FFFFFF
##663B911.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F94
Deuteranopia (green-blind)
#29508F
Tritanopia (blue-blind)
#5E4C60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #663b91;
/* rgb */ color: rgb(102, 59, 145);
/* oklch */ color: oklch(44.6% 0.139 304.4);
Tailwind
colors: {
  custom: {
    50: '#9573b2',
    500: '#663b91',
    950: '#000000',
  },
}
SCSS
$custom: #663b91;
$custom-light: #9573b2;
$custom-dark: #000000;
JSON
{
  "hex": "#663b91",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 270,
    "s": 42.157,
    "l": 40
  },
  "oklch": {
    "l": 0.44633,
    "c": 0.1388,
    "h": 304.4
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#663B91
secondary
#94B474
accent
#D25694
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #663B91

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

Preview Lab → · Contrast checker → · Palette generator →

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