#663E83#663E83

#663E83 is a dark, moderate violet. Relative luminance 0.079; OKLCH L 44.2% C 0.116 H 309.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#663E83
RGBrgb(102, 62, 131)
HSLhsl(275, 36%, 38%)
HSVhsv(275, 53%, 51%)
CMYKcmyk(22.1%, 52.7%, 0%, 48.6%)
CIE-LABlab(33.79, 31.22, -32.22)
CIE-LCHlch(33.79, 44.86, 314.10°)
OKLaboklab(44.22% 0.0735 -0.0902)
OKLCHoklch(44.22% 0.116 309.2)
XYZxyz(11.2981, 7.9089, 22.3997)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663E83 #5B833E
analogous
#443E83 #663E83 #833E7D
triadic
#663E83 #83663E #3E8366
tetradic
#663E83 #83443E #5B833E #3E7D83
square
#663E83 #83443E #5B833E #3E7D83
split-complementary
#663E83 #7D833E #3E8344
monochromatic
#251730 #462A59 #663E83 #8652AD #A37BC0

Accessibility & contrast

On white

8.13
#663E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#663E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663E83
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663E83#FFFFFF#000000##FFFFFF
##663E831.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E85
Deuteranopia (green-blind)
#375081
Tritanopia (blue-blind)
#624A5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #663e83;
/* rgb */ color: rgb(102, 62, 131);
/* oklch */ color: oklch(44.2% 0.116 309.2);
Tailwind
colors: {
  custom: {
    50: '#9375a7',
    500: '#663e83',
    950: '#000000',
  },
}
SCSS
$custom: #663e83;
$custom-light: #9375a7;
$custom-dark: #000000;
JSON
{
  "hex": "#663e83",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 131
  },
  "hsl": {
    "h": 274.783,
    "s": 35.751,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44224,
    "c": 0.1163,
    "h": 309.2
  },
  "luminance": 0.07909
}

Semantic roles & 50–950 ramp

primary
#663E83
secondary
#8AAB72
accent
#CC5C8B
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #663E83

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

Preview Lab → · Contrast checker → · Palette generator →

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