#664F99#664F99

#664F99 is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.6% C 0.117 H 296.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#664F99
RGBrgb(102, 79, 153)
HSLhsl(259, 32%, 45%)
HSVhsv(259, 48%, 60%)
CMYKcmyk(33.3%, 48.4%, 0%, 40%)
CIE-LABlab(39.10, 26.71, -37.22)
CIE-LCHlch(39.10, 45.82, 305.67°)
OKLaboklab(48.59% 0.0514 -0.1048)
OKLCHoklch(48.59% 0.117 296.1)
XYZxyz(14.0238, 10.7165, 31.4604)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664F99 #82994F
analogous
#4F5D99 #664F99 #8B4F99
triadic
#664F99 #99664F #4F9966
tetradic
#664F99 #994F5D #82994F #4F998B
square
#664F99 #994F5D #82994F #4F998B
split-complementary
#664F99 #998B4F #5D994F
monochromatic
#302548 #4B3A71 #664F99 #8670B5 #A898CA

Accessibility & contrast

On white

6.68
#664F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#664F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664F99
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664F99#FFFFFF#000000##FFFFFF
##664F991.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9C
Deuteranopia (green-blind)
#3B5B97
Tritanopia (blue-blind)
#5B5D6D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #664f99;
/* rgb */ color: rgb(102, 79, 153);
/* oklch */ color: oklch(48.6% 0.117 296.1);
Tailwind
colors: {
  custom: {
    50: '#9481b7',
    500: '#664f99',
    950: '#000000',
  },
}
SCSS
$custom: #664f99;
$custom-light: #9481b7;
$custom-dark: #000000;
JSON
{
  "hex": "#664f99",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 258.649,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48585,
    "c": 0.11671,
    "h": 296.1
  },
  "luminance": 0.10717
}

Semantic roles & 50–950 ramp

primary
#664F99
secondary
#AAB78D
accent
#C860A8
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #664F99

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

Preview Lab → · Contrast checker → · Palette generator →

#664F99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva