#654086#654086

#654086 is a dark, moderate violet. Relative luminance 0.082; OKLCH L 44.6% C 0.116 H 306.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#654086
RGBrgb(101, 64, 134)
HSLhsl(272, 35%, 39%)
HSVhsv(272, 52%, 53%)
CMYKcmyk(24.6%, 52.2%, 0%, 47.5%)
CIE-LABlab(34.30, 30.49, -33.27)
CIE-LCHlch(34.30, 45.13, 312.51°)
OKLaboklab(44.63% 0.0695 -0.0933)
OKLCHoklch(44.63% 0.116 306.7)
XYZxyz(11.5024, 8.1548, 23.5177)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654086 #618640
analogous
#424086 #654086 #864084
triadic
#654086 #866540 #408665
tetradic
#654086 #864240 #618640 #408486
square
#654086 #864240 #618640 #408486
split-complementary
#654086 #848640 #408642
monochromatic
#271833 #462C5D #654086 #8455AE #A27FC2

Accessibility & contrast

On white

7.98
#654086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#654086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654086
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654086#FFFFFF#000000##FFFFFF
##6540861.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F88
Deuteranopia (green-blind)
#375184
Tritanopia (blue-blind)
#604C5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #654086;
/* rgb */ color: rgb(101, 64, 134);
/* oklch */ color: oklch(44.6% 0.116 306.7);
Tailwind
colors: {
  custom: {
    50: '#9376a9',
    500: '#654086',
    950: '#000000',
  },
}
SCSS
$custom: #654086;
$custom-light: #9376a9;
$custom-dark: #000000;
JSON
{
  "hex": "#654086",
  "rgb": {
    "r": 101,
    "g": 64,
    "b": 134
  },
  "hsl": {
    "h": 271.714,
    "s": 35.354,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44631,
    "c": 0.1163,
    "h": 306.7
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#654086
secondary
#8FAC76
accent
#CB5C91
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #654086

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

Preview Lab → · Contrast checker → · Palette generator →

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