#665495#665495

#665495 is a mid, moderate violet. Relative luminance 0.113; OKLCH L 49.3% C 0.103 H 295.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#665495
RGBrgb(102, 84, 149)
HSLhsl(257, 28%, 46%)
HSVhsv(257, 44%, 58%)
CMYKcmyk(31.5%, 43.6%, 0%, 41.6%)
CIE-LABlab(40.14, 22.54, -33.17)
CIE-LCHlch(40.14, 40.10, 304.20°)
OKLaboklab(49.3% 0.0436 -0.093)
OKLCHoklch(49.3% 0.103 295.1)
XYZxyz(14.0733, 11.3351, 29.8744)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665495 #839554
analogous
#546295 #665495 #865495
triadic
#665495 #956654 #549566
tetradic
#665495 #955462 #839554 #549586
square
#665495 #955462 #839554 #549586
split-complementary
#665495 #958654 #629554
monochromatic
#302847 #4B3E6E #665495 #8675B1 #A89CC7

Accessibility & contrast

On white

6.43
#665495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#665495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665495
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665495#FFFFFF#000000##FFFFFF
##6654951.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405F97
Deuteranopia (green-blind)
#435E93
Tritanopia (blue-blind)
#5C606D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #665495;
/* rgb */ color: rgb(102, 84, 149);
/* oklch */ color: oklch(49.3% 0.103 295.1);
Tailwind
colors: {
  custom: {
    50: '#9384b4',
    500: '#665495',
    950: '#000000',
  },
}
SCSS
$custom: #665495;
$custom-light: #9384b4;
$custom-dark: #000000;
JSON
{
  "hex": "#665495",
  "rgb": {
    "r": 102,
    "g": 84,
    "b": 149
  },
  "hsl": {
    "h": 256.615,
    "s": 27.897,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49297,
    "c": 0.10269,
    "h": 295.1
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#665495
secondary
#AAB490
accent
#C464A9
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #665495

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

Preview Lab → · Contrast checker → · Palette generator →

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