#663B83#663B83

#663B83 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.7% C 0.121 H 309.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#663B83
RGBrgb(102, 59, 131)
HSLhsl(276, 38%, 37%)
HSVhsv(276, 55%, 51%)
CMYKcmyk(22.1%, 55%, 0%, 48.6%)
CIE-LABlab(33.12, 32.97, -33.29)
CIE-LCHlch(33.12, 46.85, 314.73°)
OKLaboklab(43.72% 0.0779 -0.0933)
OKLCHoklch(43.72% 0.122 309.9)
XYZxyz(11.1394, 7.5916, 22.3468)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663B83 #58833B
analogous
#423B83 #663B83 #833B7C
triadic
#663B83 #83663B #3B8366
tetradic
#663B83 #83423B #58833B #3B7C83
square
#663B83 #83423B #58833B #3B7C83
split-complementary
#663B83 #7C833B #3B8342
monochromatic
#24152F #452859 #663B83 #874EAD #A377C2

Accessibility & contrast

On white

8.34
#663B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#663B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663B83
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663B83#FFFFFF#000000##FFFFFF
##663B831.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C85
Deuteranopia (green-blind)
#344F81
Tritanopia (blue-blind)
#624759
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #663b83;
/* rgb */ color: rgb(102, 59, 131);
/* oklch */ color: oklch(43.7% 0.121 309.9);
Tailwind
colors: {
  custom: {
    50: '#9473a7',
    500: '#663b83',
    950: '#000000',
  },
}
SCSS
$custom: #663b83;
$custom-light: #9473a7;
$custom-dark: #000000;
JSON
{
  "hex": "#663b83",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 131
  },
  "hsl": {
    "h": 275.833,
    "s": 37.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43724,
    "c": 0.1215,
    "h": 309.9
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#663B83
secondary
#87AB6F
accent
#CE5A89
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #663B83

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

Preview Lab → · Contrast checker → · Palette generator →

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