#654384#654384

#654384 is a mid, moderate violet. Relative luminance 0.084; OKLCH L 45.0% C 0.108 H 306.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#654384
RGBrgb(101, 67, 132)
HSLhsl(271, 33%, 39%)
HSVhsv(271, 49%, 52%)
CMYKcmyk(23.5%, 49.2%, 0%, 48.2%)
CIE-LABlab(34.90, 28.19, -31.09)
CIE-LCHlch(34.90, 41.97, 312.19°)
OKLaboklab(45.04% 0.0648 -0.0869)
OKLCHoklch(45.04% 0.108 306.7)
XYZxyz(11.5380, 8.4471, 22.8479)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654384 #628443
analogous
#454384 #654384 #844383
triadic
#654384 #846543 #438465
tetradic
#654384 #844543 #628443 #438384
square
#654384 #844543 #628443 #438384
split-complementary
#654384 #838443 #438445
monochromatic
#271A33 #462E5B #654384 #8459AB #A282C0

Accessibility & contrast

On white

7.81
#654384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#654384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654384
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654384#FFFFFF#000000##FFFFFF
##6543841.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325186
Deuteranopia (green-blind)
#3B5282
Tritanopia (blue-blind)
#604E5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #654384;
/* rgb */ color: rgb(101, 67, 132);
/* oklch */ color: oklch(45.0% 0.108 306.7);
Tailwind
colors: {
  custom: {
    50: '#9278a8',
    500: '#654384',
    950: '#000000',
  },
}
SCSS
$custom: #654384;
$custom-light: #9278a8;
$custom-dark: #000000;
JSON
{
  "hex": "#654384",
  "rgb": {
    "r": 101,
    "g": 67,
    "b": 132
  },
  "hsl": {
    "h": 271.385,
    "s": 32.663,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45036,
    "c": 0.10843,
    "h": 306.7
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#654384
secondary
#90AA78
accent
#C95F91
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #654384

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

Preview Lab → · Contrast checker → · Palette generator →

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