#653172#653172

#653172 is a dark, moderate purple. Relative luminance 0.062; OKLCH L 41.0% C 0.118 H 319.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#653172
RGBrgb(101, 49, 114)
HSLhsl(288, 40%, 32%)
HSVhsv(288, 57%, 45%)
CMYKcmyk(11.4%, 57%, 0%, 55.3%)
CIE-LABlab(29.86, 34.39, -27.79)
CIE-LCHlch(29.86, 44.22, 321.06°)
OKLaboklab(40.98% 0.0897 -0.0772)
OKLCHoklch(40.98% 0.118 319.3)
XYZxyz(9.5020, 6.1786, 16.6084)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#653172 #3E7231
analogous
#453172 #653172 #72315F
triadic
#653172 #726531 #317265
tetradic
#653172 #724531 #3E7231 #315F72
square
#653172 #724531 #3E7231 #315F72
split-complementary
#653172 #5F7231 #317245
monochromatic
#190C1C #3F1F47 #653172 #8B439D #AA62BB

Accessibility & contrast

On white

9.39
#653172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#653172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #653172
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##653172#FFFFFF#000000##FFFFFF
##6531721.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#354870
Tritanopia (blue-blind)
#653B4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #653172;
/* rgb */ color: rgb(101, 49, 114);
/* oklch */ color: oklch(41.0% 0.118 319.3);
Tailwind
colors: {
  custom: {
    50: '#936c9b',
    500: '#653172',
    950: '#000000',
  },
}
SCSS
$custom: #653172;
$custom-light: #936c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#653172",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 288,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40979,
    "c": 0.11839,
    "h": 319.3
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#653172
secondary
#6AA35C
accent
#D05870
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #653172

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

Preview Lab → · Contrast checker → · Palette generator →

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