#664A97#664A97

#664A97 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.5% C 0.122 H 298.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#664A97
RGBrgb(102, 74, 151)
HSLhsl(262, 34%, 44%)
HSVhsv(262, 51%, 59%)
CMYKcmyk(32.5%, 51%, 0%, 40.8%)
CIE-LABlab(37.76, 29.22, -38.14)
CIE-LCHlch(37.76, 48.04, 307.45°)
OKLaboklab(47.55% 0.0582 -0.1075)
OKLCHoklch(47.55% 0.122 298.4)
XYZxyz(13.5128, 9.9566, 30.4820)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664A97 #7B974A
analogous
#4A5597 #664A97 #8D4A97
triadic
#664A97 #97664A #4A9766
tetradic
#664A97 #974A55 #7B974A #4A978D
square
#664A97 #974A55 #7B974A #4A978D
split-complementary
#664A97 #978D4A #55974A
monochromatic
#2F2245 #4A366E #664A97 #8569B5 #A692CA

Accessibility & contrast

On white

7.02
#664A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#664A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #664A97
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664A97#FFFFFF#000000##FFFFFF
##664A971.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#365895
Tritanopia (blue-blind)
#5C5969
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #664a97;
/* rgb */ color: rgb(102, 74, 151);
/* oklch */ color: oklch(47.5% 0.122 298.4);
Tailwind
colors: {
  custom: {
    50: '#947db6',
    500: '#664a97',
    950: '#000000',
  },
}
SCSS
$custom: #664a97;
$custom-light: #947db6;
$custom-dark: #000000;
JSON
{
  "hex": "#664a97",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 261.818,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4755,
    "c": 0.12221,
    "h": 298.4
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#664A97
secondary
#A5B687
accent
#CA5DA3
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #664A97

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

Preview Lab → · Contrast checker → · Palette generator →

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