#664CAF#664CAF

#664CAF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.5% C 0.151 H 292.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#664CAF
RGBrgb(102, 76, 175)
HSLhsl(256, 39%, 49%)
HSVhsv(256, 57%, 69%)
CMYKcmyk(41.7%, 56.6%, 0%, 31.4%)
CIE-LABlab(39.73, 34.71, -49.34)
CIE-LCHlch(39.73, 60.32, 305.13°)
OKLaboklab(49.49% 0.0568 -0.1403)
OKLCHoklch(49.49% 0.151 292)
XYZxyz(15.7997, 11.0884, 41.8569)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664CAF #95AF4C
analogous
#4C64AF #664CAF #984CAF
triadic
#664CAF #AF664C #4CAF66
tetradic
#664CAF #AF4C64 #95AF4C #4CAF98
square
#664CAF #AF4C64 #95AF4C #4CAF98
split-complementary
#664CAF #AF984C #64AF4C
monochromatic
#34275A #4D3984 #664CAF #8A75C3 #AEA0D6

Accessibility & contrast

On white

6.53
#664CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#664CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664CAF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664CAF#FFFFFF#000000##FFFFFF
##664CAF1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#1E5CAD
Tritanopia (blue-blind)
#526176
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #664caf;
/* rgb */ color: rgb(102, 76, 175);
/* oklch */ color: oklch(49.5% 0.151 292.0);
Tailwind
colors: {
  custom: {
    50: '#967fc7',
    500: '#664caf',
    950: '#000000',
  },
}
SCSS
$custom: #664caf;
$custom-light: #967fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#664caf",
  "rgb": {
    "r": 102,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 255.758,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49488,
    "c": 0.1514,
    "h": 292
  },
  "luminance": 0.11089
}

Semantic roles & 50–950 ramp

primary
#664CAF
secondary
#B6C294
accent
#CF58B0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #664CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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