#665286#665286

#665286 is a mid, moderate violet. Relative luminance 0.106; OKLCH L 48.1% C 0.085 H 301.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#665286
RGBrgb(102, 82, 134)
HSLhsl(263, 24%, 42%)
HSVhsv(263, 39%, 53%)
CMYKcmyk(23.9%, 38.8%, 0%, 47.5%)
CIE-LABlab(38.86, 19.79, -26.08)
CIE-LCHlch(38.86, 32.74, 307.20°)
OKLaboklab(48.08% 0.0435 -0.0724)
OKLCHoklch(48.08% 0.085 301)
XYZxyz(12.7989, 10.5806, 23.9176)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665286 #728652
analogous
#525886 #665286 #805286
triadic
#665286 #866652 #528666
tetradic
#665286 #865258 #728652 #528680
square
#665286 #865258 #728652 #528680
split-complementary
#665286 #868052 #588652
monochromatic
#2C243A #493B60 #665286 #846FA7 #A495BE

Accessibility & contrast

On white

6.74
#665286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#665286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665286
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665286#FFFFFF#000000##FFFFFF
##6652861.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B88
Deuteranopia (green-blind)
#495B85
Tritanopia (blue-blind)
#605A65
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665286;
/* rgb */ color: rgb(102, 82, 134);
/* oklch */ color: oklch(48.1% 0.085 301.0);
Tailwind
colors: {
  custom: {
    50: '#9383a9',
    500: '#665286',
    950: '#000000',
  },
}
SCSS
$custom: #665286;
$custom-light: #9383a9;
$custom-dark: #000000;
JSON
{
  "hex": "#665286",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 263.077,
    "s": 24.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48083,
    "c": 0.08451,
    "h": 301
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#665286
secondary
#9EAB89
accent
#C1679E
background
#F9F8FA
surface
#F1EFF4
border
#CBCACE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #665286

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

Preview Lab → · Contrast checker → · Palette generator →

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