#663B86#663B86

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

Color values

HEX#663B86
RGBrgb(102, 59, 134)
HSLhsl(274, 39%, 38%)
HSVhsv(274, 56%, 53%)
CMYKcmyk(23.9%, 56%, 0%, 47.5%)
CIE-LABlab(33.29, 33.71, -34.86)
CIE-LCHlch(33.29, 48.50, 314.04°)
OKLaboklab(43.91% 0.0781 -0.0979)
OKLCHoklch(43.91% 0.125 308.6)
XYZxyz(11.3457, 7.6741, 23.4332)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663B86 #5B863B
analogous
#403B86 #663B86 #863B80
triadic
#663B86 #86663B #3B8666
tetradic
#663B86 #86403B #5B863B #3B8086
square
#663B86 #86403B #5B863B #3B8086
split-complementary
#663B86 #80863B #3B8640
monochromatic
#251631 #46285C #663B86 #864EB0 #A378C4

Accessibility & contrast

On white

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

On black

2.53
#663B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##663B86#FFFFFF#000000##FFFFFF
##663B861.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D88
Deuteranopia (green-blind)
#324F84
Tritanopia (blue-blind)
#62485A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #663b86;
/* rgb */ color: rgb(102, 59, 134);
/* oklch */ color: oklch(43.9% 0.125 308.6);
Tailwind
colors: {
  custom: {
    50: '#9473aa',
    500: '#663b86',
    950: '#000000',
  },
}
SCSS
$custom: #663b86;
$custom-light: #9473aa;
$custom-dark: #000000;
JSON
{
  "hex": "#663b86",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 274.4,
    "s": 38.86,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.12521,
    "h": 308.6
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#663B86
secondary
#8AAD70
accent
#CF598B
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #663B86

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

Preview Lab → · Contrast checker → · Palette generator →

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