#665D8D#665D8D

#665D8D is a mid, moderate violet. Relative luminance 0.126; OKLCH L 50.7% C 0.076 H 292.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#665D8D
RGBrgb(102, 93, 141)
HSLhsl(251, 21%, 46%)
HSVhsv(251, 34%, 55%)
CMYKcmyk(27.7%, 34%, 0%, 44.7%)
CIE-LABlab(42.12, 14.80, -25.25)
CIE-LCHlch(42.12, 29.27, 300.38°)
OKLaboklab(50.68% 0.0284 -0.0701)
OKLCHoklch(50.68% 0.076 292.1)
XYZxyz(14.2004, 12.5763, 26.8735)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665D8D #848D5D
analogous
#5D6C8D #665D8D #7E5D8D
triadic
#665D8D #8D665D #5D8D66
tetradic
#665D8D #8D5D6C #848D5D #5D8D7E
square
#665D8D #8D5D6C #848D5D #5D8D7E
split-complementary
#665D8D #8D7E5D #6C8D5D
monochromatic
#312C43 #4B4568 #665D8D #867EAA #A8A2C2

Accessibility & contrast

On white

5.97
#665D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#665D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665D8D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665D8D#FFFFFF#000000##FFFFFF
##665D8D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50648F
Deuteranopia (green-blind)
#51638C
Tritanopia (blue-blind)
#5E656E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #665d8d;
/* rgb */ color: rgb(102, 93, 141);
/* oklch */ color: oklch(50.7% 0.076 292.1);
Tailwind
colors: {
  custom: {
    50: '#938bae',
    500: '#665d8d',
    950: '#000000',
  },
}
SCSS
$custom: #665d8d;
$custom-light: #938bae;
$custom-dark: #000000;
JSON
{
  "hex": "#665d8d",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 141
  },
  "hsl": {
    "h": 251.25,
    "s": 20.513,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50675,
    "c": 0.07565,
    "h": 292.1
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#665D8D
secondary
#ABB096
accent
#BD6BAE
background
#F9F8FA
surface
#F1F0F4
border
#CBCBCE
text
#0D0B10
muted
#7E7C7F

Preview Lab

Preview with #665D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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