#663289#663289

#663289 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.143 H 309.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#663289
RGBrgb(102, 50, 137)
HSLhsl(276, 47%, 37%)
HSVhsv(276, 64%, 54%)
CMYKcmyk(25.5%, 63.5%, 0%, 46.3%)
CIE-LABlab(31.61, 39.45, -39.42)
CIE-LCHlch(31.61, 55.77, 315.03°)
OKLaboklab(42.74% 0.0904 -0.1112)
OKLCHoklch(42.74% 0.143 309.1)
XYZxyz(11.1346, 6.9123, 24.4097)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663289 #558932
analogous
#3B3289 #663289 #893281
triadic
#663289 #896632 #328966
tetradic
#663289 #893B32 #558932 #328189
square
#663289 #893B32 #558932 #328189
split-complementary
#663289 #818932 #32893B
monochromatic
#23112F #45225C #663289 #8742B6 #A46CC9

Accessibility & contrast

On white

8.81
#663289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#663289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663289
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663289#FFFFFF#000000##FFFFFF
##6632891.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08488C
Deuteranopia (green-blind)
#264B87
Tritanopia (blue-blind)
#614358
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #663289;
/* rgb */ color: rgb(102, 50, 137);
/* oklch */ color: oklch(42.7% 0.143 309.1);
Tailwind
colors: {
  custom: {
    50: '#956dac',
    500: '#663289',
    950: '#000000',
  },
}
SCSS
$custom: #663289;
$custom-light: #956dac;
$custom-dark: #000000;
JSON
{
  "hex": "#663289",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 275.862,
    "s": 46.524,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.1433,
    "h": 309.1
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#663289
secondary
#84B166
accent
#D65287
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #663289

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

Preview Lab → · Contrast checker → · Palette generator →

#663289 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva