#664591#664591

#664591 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.3% C 0.122 H 301.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#664591
RGBrgb(102, 69, 145)
HSLhsl(266, 36%, 42%)
HSVhsv(266, 52%, 57%)
CMYKcmyk(29.7%, 52.4%, 0%, 43.1%)
CIE-LABlab(36.22, 30.63, -36.95)
CIE-LCHlch(36.22, 47.99, 309.66°)
OKLaboklab(46.29% 0.0647 -0.104)
OKLCHoklch(46.29% 0.122 301.9)
XYZxyz(12.7173, 9.1253, 27.8740)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664591 #709145
analogous
#454A91 #664591 #8C4591
triadic
#664591 #916645 #459166
tetradic
#664591 #91454A #709145 #45918C
square
#664591 #91454A #709145 #45918C
split-complementary
#664591 #918C45 #4A9145
monochromatic
#2C1E3E #493168 #664591 #8460B3 #A489C7

Accessibility & contrast

On white

7.43
#664591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#664591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #664591
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664591#FFFFFF#000000##FFFFFF
##6645911.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5594
Deuteranopia (green-blind)
#35558F
Tritanopia (blue-blind)
#5E5364
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #664591;
/* rgb */ color: rgb(102, 69, 145);
/* oklch */ color: oklch(46.3% 0.122 301.9);
Tailwind
colors: {
  custom: {
    50: '#9479b2',
    500: '#664591',
    950: '#000000',
  },
}
SCSS
$custom: #664591;
$custom-light: #9479b2;
$custom-dark: #000000;
JSON
{
  "hex": "#664591",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 266.053,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46291,
    "c": 0.12247,
    "h": 301.9
  },
  "luminance": 0.09125
}

Semantic roles & 50–950 ramp

primary
#664591
secondary
#9CB280
accent
#CC5C9B
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #664591

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

Preview Lab → · Contrast checker → · Palette generator →

#664591 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva