#665172#665172

#665172 is a mid, muted violet. Relative luminance 0.099; OKLCH L 46.9% C 0.058 H 313.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#665172
RGBrgb(102, 81, 114)
HSLhsl(278, 17%, 38%)
HSVhsv(278, 29%, 45%)
CMYKcmyk(10.5%, 28.9%, 0%, 55.3%)
CIE-LABlab(37.71, 15.51, -15.58)
CIE-LCHlch(37.71, 21.98, 314.87°)
OKLaboklab(46.91% 0.0396 -0.0425)
OKLCHoklch(46.91% 0.058 313)
XYZxyz(11.4587, 9.9247, 17.2283)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665172 #5D7251
analogous
#555172 #665172 #72516D
triadic
#665172 #726651 #517266
tetradic
#665172 #725551 #5D7251 #516D72
square
#665172 #725551 #5D7251 #516D72
split-complementary
#665172 #6D7251 #517255
monochromatic
#261E2A #46384E #665172 #866B96 #A38EAF

Accessibility & contrast

On white

7.04
#665172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #665172
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665172#FFFFFF#000000##FFFFFF
##6651721.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #665172;
/* rgb */ color: rgb(102, 81, 114);
/* oklch */ color: oklch(46.9% 0.058 313.0);
Tailwind
colors: {
  custom: {
    50: '#92829a',
    500: '#665172',
    950: '#000000',
  },
}
SCSS
$custom: #665172;
$custom-light: #92829a;
$custom-dark: #000000;
JSON
{
  "hex": "#665172",
  "rgb": {
    "r": 102,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 278.182,
    "s": 16.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.05805,
    "h": 313
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#665172
secondary
#8C9D82
accent
#BA6E8A
background
#F9F7F9
surface
#F1EEF2
border
#CBC9CC
text
#0D0A0E
muted
#7E7C7E

Preview Lab

Preview with #665172

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

Preview Lab → · Contrast checker → · Palette generator →

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