#664E97#664E97

#664E97 is a mid, moderate violet. Relative luminance 0.105; OKLCH L 48.3% C 0.116 H 297.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#664E97
RGBrgb(102, 78, 151)
HSLhsl(260, 32%, 45%)
HSVhsv(260, 48%, 59%)
CMYKcmyk(32.5%, 48.3%, 0%, 40.8%)
CIE-LABlab(38.74, 26.78, -36.59)
CIE-LCHlch(38.74, 45.34, 306.20°)
OKLaboklab(48.28% 0.0525 -0.1029)
OKLCHoklch(48.28% 0.116 297)
XYZxyz(13.7884, 10.5078, 30.5739)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664E97 #7F974E
analogous
#4E5A97 #664E97 #8B4E97
triadic
#664E97 #97664E #4E9766
tetradic
#664E97 #974E5A #7F974E #4E978B
square
#664E97 #974E5A #7F974E #4E978B
split-complementary
#664E97 #978B4E #5A974E
monochromatic
#2F2446 #4B396F #664E97 #856EB4 #A796C9

Accessibility & contrast

On white

6.77
#664E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#664E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664E97
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664E97#FFFFFF#000000##FFFFFF
##664E971.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9A
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#5B5C6B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #664e97;
/* rgb */ color: rgb(102, 78, 151);
/* oklch */ color: oklch(48.3% 0.116 297.0);
Tailwind
colors: {
  custom: {
    50: '#9480b6',
    500: '#664e97',
    950: '#000000',
  },
}
SCSS
$custom: #664e97;
$custom-light: #9480b6;
$custom-dark: #000000;
JSON
{
  "hex": "#664e97",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 259.726,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48279,
    "c": 0.11557,
    "h": 297
  },
  "luminance": 0.10508
}

Semantic roles & 50–950 ramp

primary
#664E97
secondary
#A8B68B
accent
#C860A6
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #664E97

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

Preview Lab → · Contrast checker → · Palette generator →

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