#663266#663266

#663266 is a dark, moderate purple. Relative luminance 0.061; OKLCH L 40.6% C 0.104 H 327.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#663266
RGBrgb(102, 50, 102)
HSLhsl(300, 34%, 30%)
HSVhsv(300, 51%, 40%)
CMYKcmyk(0%, 51%, 0%, 60%)
CIE-LABlab(29.58, 31.59, -20.56)
CIE-LCHlch(29.58, 37.70, 326.94°)
OKLaboklab(40.6% 0.0878 -0.0564)
OKLCHoklch(40.6% 0.104 327.3)
XYZxyz(9.0182, 6.0658, 13.2636)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663266 #326632
analogous
#4C3266 #663266 #66324C
triadic
#663266 #666632 #326666
tetradic
#663266 #664C32 #326632 #324C66
square
#663266 #664C32 #326632 #324C66
split-complementary
#663266 #4C6632 #32664C
monochromatic
#150A15 #3D1E3D #663266 #8F468F #B261B2

Accessibility & contrast

On white

9.49
#663266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#663266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663266
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663266#FFFFFF#000000##FFFFFF
##6632661.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4168
Deuteranopia (green-blind)
#3D4864
Tritanopia (blue-blind)
#693847
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #663266;
/* rgb */ color: rgb(102, 50, 102);
/* oklch */ color: oklch(40.6% 0.104 327.3);
Tailwind
colors: {
  custom: {
    50: '#936c92',
    500: '#663266',
    950: '#000000',
  },
}
SCSS
$custom: #663266;
$custom-light: #936c92;
$custom-dark: #000000;
JSON
{
  "hex": "#663266",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 102
  },
  "hsl": {
    "h": 300,
    "s": 34.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40595,
    "c": 0.10431,
    "h": 327.3
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#663266
secondary
#5D975D
accent
#CA5E5E
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D070D
muted
#7E7A7D

Preview Lab

Preview with #663266

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

Preview Lab → · Contrast checker → · Palette generator →

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