#654F71#654F71

#654F71 is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.3% C 0.060 H 313.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#654F71
RGBrgb(101, 79, 113)
HSLhsl(279, 18%, 38%)
HSVhsv(279, 30%, 44%)
CMYKcmyk(10.6%, 30.1%, 0%, 55.7%)
CIE-LABlab(37.02, 16.16, -16.01)
CIE-LCHlch(37.02, 22.75, 315.27°)
OKLaboklab(46.35% 0.0413 -0.0437)
OKLCHoklch(46.35% 0.06 313.4)
XYZxyz(11.1430, 9.5511, 16.8761)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654F71 #5B714F
analogous
#544F71 #654F71 #714F6C
triadic
#654F71 #71654F #4F7165
tetradic
#654F71 #71544F #5B714F #4F6C71
square
#654F71 #71544F #5B714F #4F6C71
split-complementary
#654F71 #6C714F #4F7154
monochromatic
#251D29 #45364D #654F71 #856895 #A28CAF

Accessibility & contrast

On white

7.22
#654F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#654F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654F71
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654F71#FFFFFF#000000##FFFFFF
##654F711.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5672
Deuteranopia (green-blind)
#4F5870
Tritanopia (blue-blind)
#64535B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #654f71;
/* rgb */ color: rgb(101, 79, 113);
/* oklch */ color: oklch(46.3% 0.060 313.4);
Tailwind
colors: {
  custom: {
    50: '#91809a',
    500: '#654f71',
    950: '#000000',
  },
}
SCSS
$custom: #654f71;
$custom-light: #91809a;
$custom-dark: #000000;
JSON
{
  "hex": "#654f71",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 278.824,
    "s": 17.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46345,
    "c": 0.06013,
    "h": 313.4
  },
  "luminance": 0.09551
}

Semantic roles & 50–950 ramp

primary
#654F71
secondary
#8A9C80
accent
#BA6D89
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0D0A0E
muted
#7D7C7E

Preview Lab

Preview with #654F71

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

Preview Lab → · Contrast checker → · Palette generator →

#654F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva