#654188#654188

#654188 is a dark, moderate violet. Relative luminance 0.083; OKLCH L 44.9% C 0.117 H 305.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#654188
RGBrgb(101, 65, 136)
HSLhsl(270, 35%, 39%)
HSVhsv(270, 52%, 53%)
CMYKcmyk(25.7%, 52.2%, 0%, 46.7%)
CIE-LABlab(34.65, 30.40, -33.95)
CIE-LCHlch(34.65, 45.57, 311.85°)
OKLaboklab(44.93% 0.0682 -0.0952)
OKLCHoklch(44.93% 0.117 305.6)
XYZxyz(11.7001, 8.3249, 24.2783)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654188 #648841
analogous
#424188 #654188 #884187
triadic
#654188 #886541 #418865
tetradic
#654188 #884241 #648841 #418788
square
#654188 #884241 #648841 #418788
split-complementary
#654188 #878841 #418842
monochromatic
#271935 #462D5F #654188 #8457AF #A281C3

Accessibility & contrast

On white

7.88
#654188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #654188
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654188#FFFFFF#000000##FFFFFF
##6541881.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C508A
Deuteranopia (green-blind)
#365286
Tritanopia (blue-blind)
#5F4E5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #654188;
/* rgb */ color: rgb(101, 65, 136);
/* oklch */ color: oklch(44.9% 0.117 305.6);
Tailwind
colors: {
  custom: {
    50: '#9377ab',
    500: '#654188',
    950: '#000000',
  },
}
SCSS
$custom: #654188;
$custom-light: #9377ab;
$custom-dark: #000000;
JSON
{
  "hex": "#654188",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 136
  },
  "hsl": {
    "h": 270.423,
    "s": 35.323,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44926,
    "c": 0.11717,
    "h": 305.6
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#654188
secondary
#92AD78
accent
#CB5C93
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #654188

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

Preview Lab → · Contrast checker → · Palette generator →

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