#654285#654285

#654285 is a dark, moderate violet. Relative luminance 0.084; OKLCH L 44.9% C 0.112 H 306.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#654285
RGBrgb(101, 66, 133)
HSLhsl(271, 34%, 39%)
HSVhsv(271, 50%, 52%)
CMYKcmyk(24.1%, 50.4%, 0%, 47.8%)
CIE-LABlab(34.72, 29.04, -32.00)
CIE-LCHlch(34.72, 43.21, 312.23°)
OKLaboklab(44.92% 0.0664 -0.0896)
OKLCHoklch(44.92% 0.112 306.6)
XYZxyz(11.5478, 8.3567, 23.1904)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654285 #628542
analogous
#444285 #654285 #854284
triadic
#654285 #856542 #428565
tetradic
#654285 #854442 #628542 #428485
square
#654285 #854442 #628542 #428485
split-complementary
#654285 #848542 #428544
monochromatic
#271933 #462E5C #654285 #8458AC #A281C0

Accessibility & contrast

On white

7.86
#654285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#654285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654285
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654285#FFFFFF#000000##FFFFFF
##6542851.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305087
Deuteranopia (green-blind)
#395283
Tritanopia (blue-blind)
#604D5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #654285;
/* rgb */ color: rgb(101, 66, 133);
/* oklch */ color: oklch(44.9% 0.112 306.6);
Tailwind
colors: {
  custom: {
    50: '#9377a9',
    500: '#654285',
    950: '#000000',
  },
}
SCSS
$custom: #654285;
$custom-light: #9377a9;
$custom-dark: #000000;
JSON
{
  "hex": "#654285",
  "rgb": {
    "r": 101,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 271.343,
    "s": 33.668,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44919,
    "c": 0.11151,
    "h": 306.6
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#654285
secondary
#90AB78
accent
#CA5E91
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #654285

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

Preview Lab → · Contrast checker → · Palette generator →

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