#663189#663189

#663189 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.145 H 309.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#663189
RGBrgb(102, 49, 137)
HSLhsl(276, 47%, 36%)
HSVhsv(276, 64%, 54%)
CMYKcmyk(25.5%, 64.2%, 0%, 46.3%)
CIE-LABlab(31.41, 39.98, -39.73)
CIE-LCHlch(31.41, 56.37, 315.18°)
OKLaboklab(42.6% 0.0917 -0.1121)
OKLCHoklch(42.6% 0.145 309.3)
XYZxyz(11.0923, 6.8277, 24.3956)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663189 #548931
analogous
#3A3189 #663189 #893180
triadic
#663189 #896631 #318966
tetradic
#663189 #893A31 #548931 #318089
square
#663189 #893A31 #548931 #318089
split-complementary
#663189 #808931 #31893A
monochromatic
#23112F #44215C #663189 #8841B6 #A46BCA

Accessibility & contrast

On white

8.88
#663189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#663189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663189
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663189#FFFFFF#000000##FFFFFF
##6631891.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488C
Deuteranopia (green-blind)
#254B87
Tritanopia (blue-blind)
#614258
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #663189;
/* rgb */ color: rgb(102, 49, 137);
/* oklch */ color: oklch(42.6% 0.145 309.3);
Tailwind
colors: {
  custom: {
    50: '#956cac',
    500: '#663189',
    950: '#000000',
  },
}
SCSS
$custom: #663189;
$custom-light: #956cac;
$custom-dark: #000000;
JSON
{
  "hex": "#663189",
  "rgb": {
    "r": 102,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 276.136,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42598,
    "c": 0.14482,
    "h": 309.3
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#663189
secondary
#83B164
accent
#D75186
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #663189

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

Preview Lab → · Contrast checker → · Palette generator →

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