#664862#664862

#664862 is a dark, muted purple. Relative luminance 0.083; OKLCH L 44.4% C 0.057 H 331.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#664862
RGBrgb(102, 72, 98)
HSLhsl(308, 17%, 34%)
HSVhsv(308, 29%, 40%)
CMYKcmyk(0%, 29.4%, 3.9%, 60%)
CIE-LABlab(34.68, 17.58, -10.17)
CIE-LCHlch(34.68, 20.31, 329.96°)
OKLaboklab(44.38% 0.0496 -0.0273)
OKLCHoklch(44.38% 0.057 331.2)
XYZxyz(10.0013, 8.3417, 12.6362)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664862 #48664C
analogous
#5B4866 #664862 #664853
triadic
#664862 #626648 #486266
tetradic
#664862 #665B48 #48664C #485366
square
#664862 #665B48 #48664C #485366
split-complementary
#664862 #536648 #48665B
monochromatic
#1E151D #422F40 #664862 #8A6184 #A782A2

Accessibility & contrast

On white

7.87
#664862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#664862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #664862
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664862#FFFFFF#000000##FFFFFF
##6648621.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474F63
Deuteranopia (green-blind)
#4E5361
Tritanopia (blue-blind)
#694A51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #664862;
/* rgb */ color: rgb(102, 72, 98);
/* oklch */ color: oklch(44.4% 0.057 331.2);
Tailwind
colors: {
  custom: {
    50: '#927b8e',
    500: '#664862',
    950: '#000000',
  },
}
SCSS
$custom: #664862;
$custom-light: #927b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#664862",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 98
  },
  "hsl": {
    "h": 308,
    "s": 17.241,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44383,
    "c": 0.05658,
    "h": 331.2
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#664862
secondary
#76947A
accent
#BA786E
background
#F9F7F8
surface
#F1EEF0
border
#CBC9CB
text
#0D090C
muted
#7E7B7D

Preview Lab

Preview with #664862

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

Preview Lab → · Contrast checker → · Palette generator →

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