#662964#662964

#662964 is a dark, moderate purple. Relative luminance 0.053; OKLCH L 39.1% C 0.118 H 328.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#662964
RGBrgb(102, 41, 100)
HSLhsl(302, 43%, 28%)
HSVhsv(302, 60%, 40%)
CMYKcmyk(0%, 59.8%, 2%, 60%)
CIE-LABlab(27.66, 36.05, -22.27)
CIE-LCHlch(27.66, 42.37, 328.29°)
OKLaboklab(39.15% 0.1011 -0.0612)
OKLCHoklch(39.15% 0.118 328.8)
XYZxyz(8.5726, 5.3313, 12.6316)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662964 #29662B
analogous
#492966 #662964 #662945
triadic
#662964 #646629 #296466
tetradic
#662964 #664929 #29662B #294566
square
#662964 #664929 #29662B #294566
split-complementary
#662964 #456629 #296649
monochromatic
#160915 #3A1739 #662964 #923B8F #B951B5

Accessibility & contrast

On white

10.16
#662964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#662964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662964
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662964#FFFFFF#000000##FFFFFF
##6629641.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243C66
Deuteranopia (green-blind)
#374462
Tritanopia (blue-blind)
#693042
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #662964;
/* rgb */ color: rgb(102, 41, 100);
/* oklch */ color: oklch(39.1% 0.118 328.8);
Tailwind
colors: {
  custom: {
    50: '#946790',
    500: '#662964',
    950: '#000000',
  },
}
SCSS
$custom: #662964;
$custom-light: #946790;
$custom-dark: #000000;
JSON
{
  "hex": "#662964",
  "rgb": {
    "r": 102,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 301.967,
    "s": 42.657,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39147,
    "c": 0.11821,
    "h": 328.8
  },
  "luminance": 0.05331
}

Semantic roles & 50–950 ramp

primary
#662964
secondary
#529855
accent
#D25955
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0D060C
muted
#7E7A7D

Preview Lab

Preview with #662964

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

Preview Lab → · Contrast checker → · Palette generator →

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