#665179#665179

#665179 is a mid, moderate violet. Relative luminance 0.101; OKLCH L 47.2% C 0.068 H 308.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#665179
RGBrgb(102, 81, 121)
HSLhsl(272, 20%, 40%)
HSVhsv(272, 33%, 47%)
CMYKcmyk(15.7%, 33.1%, 0%, 52.5%)
CIE-LABlab(38.00, 17.17, -19.45)
CIE-LCHlch(38.00, 25.94, 311.44°)
OKLaboklab(47.23% 0.0417 -0.0534)
OKLCHoklch(47.23% 0.068 308)
XYZxyz(11.8725, 10.0902, 19.4076)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665179 #647951
analogous
#525179 #665179 #795178
triadic
#665179 #796651 #517966
tetradic
#665179 #795251 #647951 #517879
square
#665179 #795251 #647951 #517879
split-complementary
#665179 #787951 #517952
monochromatic
#282030 #473854 #665179 #856B9C #A390B5

Accessibility & contrast

On white

6.96
#665179 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#665179 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665179
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665179#FFFFFF#000000##FFFFFF
##6651791.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597B
Deuteranopia (green-blind)
#4E5A78
Tritanopia (blue-blind)
#64575F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #665179;
/* rgb */ color: rgb(102, 81, 121);
/* oklch */ color: oklch(47.2% 0.068 308.0);
Tailwind
colors: {
  custom: {
    50: '#9282a0',
    500: '#665179',
    950: '#000000',
  },
}
SCSS
$custom: #665179;
$custom-light: #9282a0;
$custom-dark: #000000;
JSON
{
  "hex": "#665179",
  "rgb": {
    "r": 102,
    "g": 81,
    "b": 121
  },
  "hsl": {
    "h": 271.5,
    "s": 19.802,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47231,
    "c": 0.06778,
    "h": 308
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#665179
secondary
#92A284
accent
#BC6B92
background
#F9F7F9
surface
#F1EEF2
border
#CBC9CC
text
#0D0A0E
muted
#7E7C7E

Preview Lab

Preview with #665179

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

Preview Lab → · Contrast checker → · Palette generator →

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