#665282#665282

#665282 is a mid, moderate violet. Relative luminance 0.105; OKLCH L 47.9% C 0.079 H 302.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#665282
RGBrgb(102, 82, 130)
HSLhsl(265, 23%, 42%)
HSVhsv(265, 37%, 51%)
CMYKcmyk(21.5%, 36.9%, 0%, 49%)
CIE-LABlab(38.67, 18.77, -23.93)
CIE-LCHlch(38.67, 30.42, 308.11°)
OKLaboklab(47.88% 0.0425 -0.0663)
OKLCHoklch(47.88% 0.079 302.7)
XYZxyz(12.5252, 10.4711, 22.4760)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665282 #6E8252
analogous
#525682 #665282 #7E5282
triadic
#665282 #826652 #528266
tetradic
#665282 #825256 #6E8252 #52827E
square
#665282 #825256 #6E8252 #52827E
split-complementary
#665282 #827E52 #568252
monochromatic
#2B2337 #493A5C #665282 #846EA3 #A493BB

Accessibility & contrast

On white

6.79
#665282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#665282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665282
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665282#FFFFFF#000000##FFFFFF
##6652821.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B84
Deuteranopia (green-blind)
#4B5B81
Tritanopia (blue-blind)
#615A64
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665282;
/* rgb */ color: rgb(102, 82, 130);
/* oklch */ color: oklch(47.9% 0.079 302.7);
Tailwind
colors: {
  custom: {
    50: '#9282a6',
    500: '#665282',
    950: '#000000',
  },
}
SCSS
$custom: #665282;
$custom-light: #9282a6;
$custom-dark: #000000;
JSON
{
  "hex": "#665282",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 265,
    "s": 22.642,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47877,
    "c": 0.07874,
    "h": 302.7
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#665282
secondary
#9BA888
accent
#BF699B
background
#F9F8FA
surface
#F1EFF4
border
#CBCACE
text
#0D0A0F
muted
#7E7C7F

Preview Lab

Preview with #665282

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

Preview Lab → · Contrast checker → · Palette generator →

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