#654F81#654F81

#654F81 is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.1% C 0.083 H 303.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#654F81
RGBrgb(101, 79, 129)
HSLhsl(266, 24%, 41%)
HSVhsv(266, 39%, 51%)
CMYKcmyk(21.7%, 38.8%, 0%, 49.4%)
CIE-LABlab(37.74, 20.05, -24.78)
CIE-LCHlch(37.74, 31.88, 308.98°)
OKLaboklab(47.13% 0.0457 -0.0687)
OKLCHoklch(47.13% 0.083 303.6)
XYZxyz(12.1244, 9.9437, 22.0452)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654F81 #6B814F
analogous
#4F5281 #654F81 #7E4F81
triadic
#654F81 #81654F #4F8165
tetradic
#654F81 #814F52 #6B814F #4F817E
square
#654F81 #814F52 #6B814F #4F817E
split-complementary
#654F81 #817E4F #52814F
monochromatic
#2A2135 #47385B #654F81 #836AA4 #A390BB

Accessibility & contrast

On white

7.03
#654F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#654F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654F81
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654F81#FFFFFF#000000##FFFFFF
##654F811.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445883
Deuteranopia (green-blind)
#485980
Tritanopia (blue-blind)
#605762
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #654f81;
/* rgb */ color: rgb(101, 79, 129);
/* oklch */ color: oklch(47.1% 0.083 303.6);
Tailwind
colors: {
  custom: {
    50: '#9280a6',
    500: '#654f81',
    950: '#000000',
  },
}
SCSS
$custom: #654f81;
$custom-light: #9280a6;
$custom-dark: #000000;
JSON
{
  "hex": "#654f81",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 129
  },
  "hsl": {
    "h": 266.4,
    "s": 24.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.08254,
    "h": 303.6
  },
  "luminance": 0.09944
}

Semantic roles & 50–950 ramp

primary
#654F81
secondary
#98A884
accent
#C06799
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A0F
muted
#7E7C7F

Preview Lab

Preview with #654F81

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

Preview Lab → · Contrast checker → · Palette generator →

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