#654679#654679

#654679 is a dark, moderate violet. Relative luminance 0.085; OKLCH L 45.0% C 0.088 H 311.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#654679
RGBrgb(101, 70, 121)
HSLhsl(276, 27%, 37%)
HSVhsv(276, 42%, 47%)
CMYKcmyk(16.5%, 42.1%, 0%, 52.5%)
CIE-LABlab(35.06, 23.64, -24.03)
CIE-LCHlch(35.06, 33.71, 314.53°)
OKLaboklab(44.97% 0.0582 -0.0665)
OKLCHoklch(44.97% 0.088 311.2)
XYZxyz(11.0076, 8.5277, 19.1516)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654679 #5A7946
analogous
#4C4679 #654679 #794674
triadic
#654679 #796546 #467965
tetradic
#654679 #794C46 #5A7946 #467479
square
#654679 #794C46 #5A7946 #467479
split-complementary
#654679 #747946 #46794C
monochromatic
#24192B #453052 #654679 #855CA0 #A282B7

Accessibility & contrast

On white

7.76
#654679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#654679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654679
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654679#FFFFFF#000000##FFFFFF
##6546791.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517B
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#634D59
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #654679;
/* rgb */ color: rgb(101, 70, 121);
/* oklch */ color: oklch(45.0% 0.088 311.2);
Tailwind
colors: {
  custom: {
    50: '#927aa0',
    500: '#654679',
    950: '#000000',
  },
}
SCSS
$custom: #654679;
$custom-light: #927aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#654679",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 121
  },
  "hsl": {
    "h": 276.471,
    "s": 26.702,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4497,
    "c": 0.08835,
    "h": 311.2
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#654679
secondary
#89A378
accent
#C3658A
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D090E
muted
#7E7B7E

Preview Lab

Preview with #654679

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

Preview Lab → · Contrast checker → · Palette generator →

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