#665281#665281

#665281 is a mid, moderate violet. Relative luminance 0.104; OKLCH L 47.8% C 0.077 H 303.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#665281
RGBrgb(102, 82, 129)
HSLhsl(266, 22%, 41%)
HSVhsv(266, 36%, 51%)
CMYKcmyk(20.9%, 36.4%, 0%, 49.4%)
CIE-LABlab(38.63, 18.52, -23.39)
CIE-LCHlch(38.63, 29.84, 308.37°)
OKLaboklab(47.83% 0.0423 -0.0647)
OKLCHoklch(47.83% 0.077 303.2)
XYZxyz(12.4584, 10.4444, 22.1242)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665281 #6D8152
analogous
#525681 #665281 #7E5281
triadic
#665281 #816652 #528166
tetradic
#665281 #815256 #6D8152 #52817E
square
#665281 #815256 #6D8152 #52817E
split-complementary
#665281 #817E52 #568152
monochromatic
#2B2236 #483A5C #665281 #846EA3 #A493BA

Accessibility & contrast

On white

6.80
#665281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665281
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665281#FFFFFF#000000##FFFFFF
##6652811.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A83
Deuteranopia (green-blind)
#4C5B80
Tritanopia (blue-blind)
#625963
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665281;
/* rgb */ color: rgb(102, 82, 129);
/* oklch */ color: oklch(47.8% 0.077 303.2);
Tailwind
colors: {
  custom: {
    50: '#9282a5',
    500: '#665281',
    950: '#000000',
  },
}
SCSS
$custom: #665281;
$custom-light: #9282a5;
$custom-dark: #000000;
JSON
{
  "hex": "#665281",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 265.532,
    "s": 22.275,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47826,
    "c": 0.07731,
    "h": 303.2
  },
  "luminance": 0.10444
}

Semantic roles & 50–950 ramp

primary
#665281
secondary
#9AA887
accent
#BF699A
background
#F9F8FA
surface
#F1EFF4
border
#CBCACE
text
#0D0A0F
muted
#7E7C7F

Preview Lab

Preview with #665281

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

Preview Lab → · Contrast checker → · Palette generator →

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