#664AAF#664AAF

#664AAF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.2% C 0.154 H 292.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#664AAF
RGBrgb(102, 74, 175)
HSLhsl(257, 41%, 49%)
HSVhsv(257, 58%, 69%)
CMYKcmyk(41.7%, 57.7%, 0%, 31.4%)
CIE-LABlab(39.27, 35.90, -50.08)
CIE-LCHlch(39.27, 61.61, 305.63°)
OKLaboklab(49.15% 0.0593 -0.1425)
OKLCHoklch(49.15% 0.154 292.6)
XYZxyz(15.6640, 10.8171, 41.8117)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664AAF #93AF4A
analogous
#4A61AF #664AAF #994AAF
triadic
#664AAF #AF664A #4AAF66
tetradic
#664AAF #AF4A61 #93AF4A #4AAF99
square
#664AAF #AF4A61 #93AF4A #4AAF99
split-complementary
#664AAF #AF994A #61AF4A
monochromatic
#342659 #4D3884 #664AAF #8973C4 #AD9ED6

Accessibility & contrast

On white

6.64
#664AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#664AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664AAF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664AAF#FFFFFF#000000##FFFFFF
##664AAF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5EB2
Deuteranopia (green-blind)
#195BAD
Tritanopia (blue-blind)
#526075
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #664aaf;
/* rgb */ color: rgb(102, 74, 175);
/* oklch */ color: oklch(49.2% 0.154 292.6);
Tailwind
colors: {
  custom: {
    50: '#967dc7',
    500: '#664aaf',
    950: '#000000',
  },
}
SCSS
$custom: #664aaf;
$custom-light: #967dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#664aaf",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 256.634,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49151,
    "c": 0.15434,
    "h": 292.6
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#664AAF
secondary
#B5C292
accent
#D057AF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #664AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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