#66517C#66517C

#66517C is a mid, moderate violet. Relative luminance 0.102; OKLCH L 47.4% C 0.072 H 306.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#66517C
RGBrgb(102, 81, 124)
HSLhsl(269, 21%, 40%)
HSVhsv(269, 35%, 49%)
CMYKcmyk(17.7%, 34.7%, 0%, 51.4%)
CIE-LABlab(38.14, 17.90, -21.09)
CIE-LCHlch(38.14, 27.66, 310.32°)
OKLaboklab(47.38% 0.0425 -0.0581)
OKLCHoklch(47.38% 0.072 306.2)
XYZxyz(12.0593, 10.1649, 20.3916)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66517C #677C51
analogous
#51517C #66517C #7B517C
triadic
#66517C #7C6651 #517C66
tetradic
#66517C #7C5151 #677C51 #517C7B
square
#66517C #7C5151 #677C51 #517C7B
split-complementary
#66517C #7C7B51 #517C51
monochromatic
#292132 #483957 #66517C #856C9F #A391B7

Accessibility & contrast

On white

6.92
#66517C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#66517C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #66517C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66517C#FFFFFF#000000##FFFFFF
##66517C1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597E
Deuteranopia (green-blind)
#4D5A7B
Tritanopia (blue-blind)
#635761
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #66517c;
/* rgb */ color: rgb(102, 81, 124);
/* oklch */ color: oklch(47.4% 0.072 306.2);
Tailwind
colors: {
  custom: {
    50: '#9282a2',
    500: '#66517c',
    950: '#000000',
  },
}
SCSS
$custom: #66517c;
$custom-light: #9282a2;
$custom-dark: #000000;
JSON
{
  "hex": "#66517c",
  "rgb": {
    "r": 102,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 269.302,
    "s": 20.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47376,
    "c": 0.07202,
    "h": 306.2
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#66517C
secondary
#95A485
accent
#BE6A95
background
#F9F7F9
surface
#F1EEF2
border
#CBC9CC
text
#0D0A0F
muted
#7E7C7E

Preview Lab

Preview with #66517C

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

Preview Lab → · Contrast checker → · Palette generator →

#66517C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva