#664EA2#664EA2

#664EA2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.0% C 0.131 H 294.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#664EA2
RGBrgb(102, 78, 162)
HSLhsl(257, 35%, 47%)
HSVhsv(257, 52%, 64%)
CMYKcmyk(37%, 51.9%, 0%, 36.5%)
CIE-LABlab(39.38, 29.82, -42.17)
CIE-LCHlch(39.38, 51.65, 305.27°)
OKLaboklab(48.97% 0.0537 -0.1193)
OKLCHoklch(48.97% 0.131 294.2)
XYZxyz(14.7238, 10.8819, 35.5001)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EA2 #8AA24E
analogous
#4E60A2 #664EA2 #904EA2
triadic
#664EA2 #A2664E #4EA266
tetradic
#664EA2 #A24E60 #8AA24E #4EA290
square
#664EA2 #A24E60 #8AA24E #4EA290
split-complementary
#664EA2 #A2904E #60A24E
monochromatic
#32264F #4C3A79 #664EA2 #8772BB #AA9BCF

Accessibility & contrast

On white

6.61
#664EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#664EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EA2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EA2#FFFFFF#000000##FFFFFF
##664EA21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#575F70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #664ea2;
/* rgb */ color: rgb(102, 78, 162);
/* oklch */ color: oklch(49.0% 0.131 294.2);
Tailwind
colors: {
  custom: {
    50: '#9580be',
    500: '#664ea2',
    950: '#000000',
  },
}
SCSS
$custom: #664ea2;
$custom-light: #9580be;
$custom-dark: #000000;
JSON
{
  "hex": "#664ea2",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 257.143,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48967,
    "c": 0.13079,
    "h": 294.2
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#664EA2
secondary
#AFBC90
accent
#CB5DAC
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #664EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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