#654166#654166

#654166 is a dark, moderate purple. Relative luminance 0.075; OKLCH L 43.1% C 0.074 H 325.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#654166
RGBrgb(101, 65, 102)
HSLhsl(298, 22%, 33%)
HSVhsv(298, 36%, 40%)
CMYKcmyk(1%, 36.3%, 0%, 60%)
CIE-LABlab(32.93, 22.37, -15.38)
CIE-LCHlch(32.93, 27.15, 325.50°)
OKLaboklab(43.08% 0.0616 -0.0418)
OKLCHoklch(43.08% 0.074 325.8)
XYZxyz(9.6552, 7.5070, 13.5082)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654166 #426641
analogous
#524166 #654166 #664154
triadic
#654166 #666541 #416665
tetradic
#654166 #665241 #426641 #415466
square
#654166 #665241 #426641 #415466
split-complementary
#654166 #546641 #416652
monochromatic
#1B111B #402941 #654166 #8A598B #A878A9

Accessibility & contrast

On white

8.40
#654166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#654166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654166
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654166#FFFFFF#000000##FFFFFF
##6541661.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4B67
Deuteranopia (green-blind)
#474F65
Tritanopia (blue-blind)
#67444F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #654166;
/* rgb */ color: rgb(101, 65, 102);
/* oklch */ color: oklch(43.1% 0.074 325.8);
Tailwind
colors: {
  custom: {
    50: '#917691',
    500: '#654166',
    950: '#000000',
  },
}
SCSS
$custom: #654166;
$custom-light: #917691;
$custom-dark: #000000;
JSON
{
  "hex": "#654166",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 298.378,
    "s": 22.156,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43079,
    "c": 0.07447,
    "h": 325.8
  },
  "luminance": 0.07507
}

Semantic roles & 50–950 ramp

primary
#654166
secondary
#6F956E
accent
#BF696B
background
#F9F7F8
surface
#F1EDF0
border
#CBC8CB
text
#0D080D
muted
#7E7B7D

Preview Lab

Preview with #654166

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

Preview Lab → · Contrast checker → · Palette generator →

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