#665173#665173

#665173 is a mid, muted violet. Relative luminance 0.099; OKLCH L 47.0% C 0.059 H 312.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#665173
RGBrgb(102, 81, 115)
HSLhsl(277, 17%, 38%)
HSVhsv(277, 30%, 45%)
CMYKcmyk(11.3%, 29.6%, 0%, 54.9%)
CIE-LABlab(37.75, 15.74, -16.13)
CIE-LCHlch(37.75, 22.54, 314.30°)
OKLaboklab(46.95% 0.0399 -0.044)
OKLCHoklch(46.95% 0.059 312.2)
XYZxyz(11.5159, 9.9476, 17.5297)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665173 #5E7351
analogous
#555173 #665173 #73516F
triadic
#665173 #736651 #517366
tetradic
#665173 #735551 #5E7351 #516F73
square
#665173 #735551 #5E7351 #516F73
split-complementary
#665173 #6F7351 #517355
monochromatic
#261E2B #46384F #665173 #866B97 #A38FB0

Accessibility & contrast

On white

7.02
#665173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#665173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #665173
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665173#FFFFFF#000000##FFFFFF
##6651731.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5874
Deuteranopia (green-blind)
#505972
Tritanopia (blue-blind)
#65555D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #665173;
/* rgb */ color: rgb(102, 81, 115);
/* oklch */ color: oklch(47.0% 0.059 312.2);
Tailwind
colors: {
  custom: {
    50: '#92829b',
    500: '#665173',
    950: '#000000',
  },
}
SCSS
$custom: #665173;
$custom-light: #92829b;
$custom-dark: #000000;
JSON
{
  "hex": "#665173",
  "rgb": {
    "r": 102,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 277.059,
    "s": 17.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46951,
    "c": 0.05942,
    "h": 312.2
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#665173
secondary
#8D9D82
accent
#BA6E8B
background
#F9F7F9
surface
#F1EEF2
border
#CBC9CC
text
#0D0A0E
muted
#7E7C7E

Preview Lab

Preview with #665173

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

Preview Lab → · Contrast checker → · Palette generator →

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