#665B82#665B82

#665B82 is a mid, moderate violet. Relative luminance 0.119; OKLCH L 49.7% C 0.062 H 297.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#665B82
RGBrgb(102, 91, 130)
HSLhsl(257, 18%, 43%)
HSVhsv(257, 30%, 51%)
CMYKcmyk(21.5%, 30%, 0%, 49%)
CIE-LABlab(41.09, 13.19, -20.20)
CIE-LCHlch(41.09, 24.12, 303.14°)
OKLaboklab(49.72% 0.0284 -0.0556)
OKLCHoklch(49.72% 0.062 297)
XYZxyz(13.2489, 11.9186, 22.7173)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665B82 #77825B
analogous
#5B6382 #665B82 #795B82
triadic
#665B82 #82665B #5B8266
tetradic
#665B82 #825B63 #77825B #5B8279
square
#665B82 #825B63 #77825B #5B8279
split-complementary
#665B82 #82795B #63825B
monochromatic
#2E293A #4A425E #665B82 #8479A1 #A59DBA

Accessibility & contrast

On white

6.21
#665B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#665B82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665B82
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665B82#FFFFFF#000000##FFFFFF
##665B821.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526184
Deuteranopia (green-blind)
#546081
Tritanopia (blue-blind)
#616169
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #665b82;
/* rgb */ color: rgb(102, 91, 130);
/* oklch */ color: oklch(49.7% 0.062 297.0);
Tailwind
colors: {
  custom: {
    50: '#9289a6',
    500: '#665b82',
    950: '#000000',
  },
}
SCSS
$custom: #665b82;
$custom-light: #9289a6;
$custom-dark: #000000;
JSON
{
  "hex": "#665b82",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 130
  },
  "hsl": {
    "h": 256.923,
    "s": 17.647,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.06245,
    "h": 297
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#665B82
secondary
#A2A990
accent
#BA6DA5
background
#F9F8FA
surface
#F1F0F4
border
#CBCBCE
text
#0D0B0F
muted
#7E7C7F

Preview Lab

Preview with #665B82

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

Preview Lab → · Contrast checker → · Palette generator →

#665B82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva