#663B95#663B95

#663B95 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.9% C 0.144 H 303.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#663B95
RGBrgb(102, 59, 149)
HSLhsl(269, 43%, 41%)
HSVhsv(269, 60%, 58%)
CMYKcmyk(31.5%, 60.4%, 0%, 41.6%)
CIE-LABlab(34.24, 37.51, -42.56)
CIE-LCHlch(34.24, 56.73, 311.39°)
OKLaboklab(44.91% 0.0785 -0.1204)
OKLCHoklch(44.91% 0.144 303.1)
XYZxyz(12.4670, 8.1226, 29.3390)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663B95 #6A953B
analogous
#3B3D95 #663B95 #933B95
triadic
#663B95 #95663B #3B9566
tetradic
#663B95 #953B3D #6A953B #3B9593
square
#663B95 #953B3D #6A953B #3B9593
split-complementary
#663B95 #95933B #3D953B
monochromatic
#2A183D #482A69 #663B95 #8453BB #A37ECC

Accessibility & contrast

On white

8.00
#663B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#663B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663B95
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663B95#FFFFFF#000000##FFFFFF
##663B951.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5098
Deuteranopia (green-blind)
#245093
Tritanopia (blue-blind)
#5D4D62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #663b95;
/* rgb */ color: rgb(102, 59, 149);
/* oklch */ color: oklch(44.9% 0.144 303.1);
Tailwind
colors: {
  custom: {
    50: '#9573b5',
    500: '#663b95',
    950: '#000000',
  },
}
SCSS
$custom: #663b95;
$custom-light: #9573b5;
$custom-dark: #000000;
JSON
{
  "hex": "#663b95",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 268.667,
    "s": 43.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44907,
    "c": 0.14373,
    "h": 303.1
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

primary
#663B95
secondary
#97B676
accent
#D35597
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #663B95

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

Preview Lab → · Contrast checker → · Palette generator →

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