#663A89#663A89

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

Color values

HEX#663A89
RGBrgb(102, 58, 137)
HSLhsl(273, 41%, 38%)
HSVhsv(273, 58%, 54%)
CMYKcmyk(25.5%, 57.7%, 0%, 46.3%)
CIE-LABlab(33.26, 35.03, -36.77)
CIE-LCHlch(33.26, 50.79, 313.61°)
OKLaboklab(43.95% 0.0797 -0.1034)
OKLCHoklch(43.95% 0.131 307.6)
XYZxyz(11.5070, 7.6572, 24.5338)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663A89 #5D893A
analogous
#3E3A89 #663A89 #893A84
triadic
#663A89 #89663A #3A8966
tetradic
#663A89 #893E3A #5D893A #3A8489
square
#663A89 #893E3A #5D893A #3A8489
split-complementary
#663A89 #84893A #3A893E
monochromatic
#261633 #46285E #663A89 #864DB4 #A378C6

Accessibility & contrast

On white

8.30
#663A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663A89
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663A89#FFFFFF#000000##FFFFFF
##663A891.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#2F4F87
Tritanopia (blue-blind)
#61495C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #663a89;
/* rgb */ color: rgb(102, 58, 137);
/* oklch */ color: oklch(43.9% 0.131 307.6);
Tailwind
colors: {
  custom: {
    50: '#9472ac',
    500: '#663a89',
    950: '#000000',
  },
}
SCSS
$custom: #663a89;
$custom-light: #9472ac;
$custom-dark: #000000;
JSON
{
  "hex": "#663a89",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 273.418,
    "s": 40.513,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43945,
    "c": 0.13057,
    "h": 307.6
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#663A89
secondary
#8CAF70
accent
#D0578D
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #663A89

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

Preview Lab → · Contrast checker → · Palette generator →

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