#665486#665486

#665486 is a mid, moderate violet. Relative luminance 0.109; OKLCH L 48.5% C 0.081 H 300.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#665486
RGBrgb(102, 84, 134)
HSLhsl(262, 23%, 43%)
HSVhsv(262, 37%, 53%)
CMYKcmyk(23.9%, 37.3%, 0%, 47.5%)
CIE-LABlab(39.39, 18.55, -25.26)
CIE-LCHlch(39.39, 31.34, 306.29°)
OKLaboklab(48.48% 0.0404 -0.0701)
OKLCHoklch(48.48% 0.081 300)
XYZxyz(12.9519, 10.8866, 23.9686)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665486 #748654
analogous
#545B86 #665486 #7F5486
triadic
#665486 #866654 #548666
tetradic
#665486 #86545B #748654 #54867F
square
#665486 #86545B #748654 #54867F
split-complementary
#665486 #867F54 #5B8654
monochromatic
#2D253B #493C60 #665486 #8471A6 #A597BE

Accessibility & contrast

On white

6.61
#665486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#665486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##665486#FFFFFF#000000##FFFFFF
##6654861.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)
#485D88
Deuteranopia (green-blind)
#4B5C85
Tritanopia (blue-blind)
#605C67
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #665486;
/* rgb */ color: rgb(102, 84, 134);
/* oklch */ color: oklch(48.5% 0.081 300.0);
Tailwind
colors: {
  custom: {
    50: '#9284a9',
    500: '#665486',
    950: '#000000',
  },
}
SCSS
$custom: #665486;
$custom-light: #9284a9;
$custom-dark: #000000;
JSON
{
  "hex": "#665486",
  "rgb": {
    "r": 102,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 261.6,
    "s": 22.936,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.08091,
    "h": 300
  },
  "luminance": 0.10887
}

Semantic roles & 50–950 ramp

primary
#665486
secondary
#9FAB8B
accent
#BF68A0
background
#F9F8FA
surface
#F1EFF4
border
#CBCACE
text
#0D0B10
muted
#7E7C7F

Preview Lab

Preview with #665486

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

Preview Lab → · Contrast checker → · Palette generator →

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