#665279#665279

#665279 is a mid, moderate violet. Relative luminance 0.102; OKLCH L 47.4% C 0.066 H 307.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#665279
RGBrgb(102, 82, 121)
HSLhsl(271, 19%, 40%)
HSVhsv(271, 32%, 47%)
CMYKcmyk(15.7%, 32.2%, 0%, 52.5%)
CIE-LABlab(38.27, 16.54, -19.04)
CIE-LCHlch(38.27, 25.22, 310.99°)
OKLaboklab(47.43% 0.0401 -0.0523)
OKLCHoklch(47.43% 0.066 307.5)
XYZxyz(11.9473, 10.2399, 19.4326)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665279 #657952
analogous
#525279 #665279 #795279
triadic
#665279 #796652 #527966
tetradic
#665279 #795252 #657952 #527979
square
#665279 #795252 #657952 #527979
split-complementary
#665279 #797952 #527952
monochromatic
#282130 #473955 #665279 #856C9C #A391B4

Accessibility & contrast

On white

6.89
#665279 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#665279 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665279
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665279#FFFFFF#000000##FFFFFF
##6652791.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B597B
Deuteranopia (green-blind)
#4F5A78
Tritanopia (blue-blind)
#645760
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #665279;
/* rgb */ color: rgb(102, 82, 121);
/* oklch */ color: oklch(47.4% 0.066 307.5);
Tailwind
colors: {
  custom: {
    50: '#9282a0',
    500: '#665279',
    950: '#000000',
  },
}
SCSS
$custom: #665279;
$custom-light: #9282a0;
$custom-dark: #000000;
JSON
{
  "hex": "#665279",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 121
  },
  "hsl": {
    "h": 270.769,
    "s": 19.212,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47434,
    "c": 0.06587,
    "h": 307.5
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

primary
#665279
secondary
#93A285
accent
#BC6C93
background
#F9F8F9
surface
#F1EFF2
border
#CBCACC
text
#0D0A0E
muted
#7E7C7E

Preview Lab

Preview with #665279

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

Preview Lab → · Contrast checker → · Palette generator →

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