#665271#665271

#665271 is a mid, muted violet. Relative luminance 0.101; OKLCH L 47.1% C 0.055 H 313.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#665271
RGBrgb(102, 82, 113)
HSLhsl(279, 16%, 38%)
HSVhsv(279, 27%, 44%)
CMYKcmyk(9.7%, 27.4%, 0%, 55.7%)
CIE-LABlab(37.94, 14.65, -14.61)
CIE-LCHlch(37.94, 20.69, 315.09°)
OKLaboklab(47.07% 0.0376 -0.0398)
OKLCHoklch(47.07% 0.055 313.4)
XYZxyz(11.4769, 10.0518, 16.9552)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665271 #5D7152
analogous
#565271 #665271 #71526C
triadic
#665271 #716652 #527166
tetradic
#665271 #715652 #5D7152 #526C71
square
#665271 #715652 #5D7152 #526C71
split-complementary
#665271 #6C7152 #527156
monochromatic
#261F2A #46384E #665271 #866C94 #A38FAE

Accessibility & contrast

On white

6.98
#665271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#665271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665271
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665271#FFFFFF#000000##FFFFFF
##6652711.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5872
Deuteranopia (green-blind)
#525A70
Tritanopia (blue-blind)
#65565D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #665271;
/* rgb */ color: rgb(102, 82, 113);
/* oklch */ color: oklch(47.1% 0.055 313.4);
Tailwind
colors: {
  custom: {
    50: '#92829a',
    500: '#665271',
    950: '#000000',
  },
}
SCSS
$custom: #665271;
$custom-light: #92829a;
$custom-dark: #000000;
JSON
{
  "hex": "#665271",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 278.71,
    "s": 15.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47067,
    "c": 0.05471,
    "h": 313.4
  },
  "luminance": 0.10052
}

Semantic roles & 50–950 ramp

primary
#665271
secondary
#8C9C83
accent
#B96F89
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0D0A0E
muted
#7D7C7E

Preview Lab

Preview with #665271

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

Preview Lab → · Contrast checker → · Palette generator →

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