#653173#653173

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

Color values

HEX#653173
RGBrgb(101, 49, 115)
HSLhsl(287, 40%, 32%)
HSVhsv(287, 57%, 45%)
CMYKcmyk(12.2%, 57.4%, 0%, 54.9%)
CIE-LABlab(29.92, 34.61, -28.34)
CIE-LCHlch(29.92, 44.73, 320.69°)
OKLaboklab(41.04% 0.0898 -0.0788)
OKLCHoklch(41.04% 0.12 318.7)
XYZxyz(9.5592, 6.2015, 16.9098)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#653173 #3F7331
analogous
#443173 #653173 #733160
triadic
#653173 #736531 #317365
tetradic
#653173 #734431 #3F7331 #316073
square
#653173 #734431 #3F7331 #316073
split-complementary
#653173 #607331 #317344
monochromatic
#1A0C1D #3F1F48 #653173 #8B439E #A962BC

Accessibility & contrast

On white

9.37
#653173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #653173
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##653173#FFFFFF#000000##FFFFFF
##6531731.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234375
Deuteranopia (green-blind)
#354871
Tritanopia (blue-blind)
#653B4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #653173;
/* rgb */ color: rgb(101, 49, 115);
/* oklch */ color: oklch(41.0% 0.119 318.7);
Tailwind
colors: {
  custom: {
    50: '#936c9b',
    500: '#653173',
    950: '#000000',
  },
}
SCSS
$custom: #653173;
$custom-light: #936c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#653173",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 287.273,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41039,
    "c": 0.1195,
    "h": 318.7
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#653173
secondary
#6BA45C
accent
#D05871
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #653173

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

Preview Lab → · Contrast checker → · Palette generator →

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