#653271#653271

#653271 is a dark, moderate purple. Relative luminance 0.062; OKLCH L 41.1% C 0.116 H 319.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#653271
RGBrgb(101, 50, 113)
HSLhsl(289, 39%, 32%)
HSVhsv(289, 56%, 44%)
CMYKcmyk(10.6%, 55.8%, 0%, 55.7%)
CIE-LABlab(30.01, 33.62, -26.92)
CIE-LCHlch(30.01, 43.07, 321.31°)
OKLaboklab(41.07% 0.0881 -0.0747)
OKLCHoklch(41.07% 0.116 319.7)
XYZxyz(9.4877, 6.2405, 16.3244)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#653271 #3E7132
analogous
#463271 #653271 #71325E
triadic
#653271 #716532 #327165
tetradic
#653271 #714632 #3E7132 #325E71
square
#653271 #714632 #3E7132 #325E71
split-complementary
#653271 #5E7132 #327146
monochromatic
#190C1C #3F1F47 #653271 #8B459B #AA63BA

Accessibility & contrast

On white

9.34
#653271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#653271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #653271
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##653271#FFFFFF#000000##FFFFFF
##6532711.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#37496F
Tritanopia (blue-blind)
#653B4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #653271;
/* rgb */ color: rgb(101, 50, 113);
/* oklch */ color: oklch(41.1% 0.116 319.7);
Tailwind
colors: {
  custom: {
    50: '#936c9a',
    500: '#653271',
    950: '#000000',
  },
}
SCSS
$custom: #653271;
$custom-light: #936c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#653271",
  "rgb": {
    "r": 101,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 288.571,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41073,
    "c": 0.11553,
    "h": 319.7
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#653271
secondary
#6AA25D
accent
#CF5970
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #653271

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

Preview Lab → · Contrast checker → · Palette generator →

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