#652971#652971

#652971 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.8% C 0.131 H 320.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#652971
RGBrgb(101, 41, 113)
HSLhsl(290, 47%, 30%)
HSVhsv(290, 64%, 44%)
CMYKcmyk(10.6%, 63.7%, 0%, 55.7%)
CIE-LABlab(28.23, 38.40, -29.73)
CIE-LCHlch(28.23, 48.57, 322.26°)
OKLaboklab(39.77% 0.101 -0.0828)
OKLCHoklch(39.77% 0.131 320.7)
XYZxyz(9.1401, 5.5453, 16.2085)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652971 #357129
analogous
#412971 #652971 #712959
triadic
#652971 #716529 #297165
tetradic
#652971 #714129 #357129 #295971
square
#652971 #714129 #357129 #295971
split-complementary
#652971 #597129 #297141
monochromatic
#150817 #3D1944 #652971 #8D399E #AF54C1

Accessibility & contrast

On white

9.96
#652971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#652971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652971
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652971#FFFFFF#000000##FFFFFF
##6529711.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#30456F
Tritanopia (blue-blind)
#663449
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #652971;
/* rgb */ color: rgb(101, 41, 113);
/* oklch */ color: oklch(39.8% 0.131 320.7);
Tailwind
colors: {
  custom: {
    50: '#93679a',
    500: '#652971',
    950: '#000000',
  },
}
SCSS
$custom: #652971;
$custom-light: #93679a;
$custom-dark: #000000;
JSON
{
  "hex": "#652971",
  "rgb": {
    "r": 101,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 290,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39774,
    "c": 0.13061,
    "h": 320.7
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#652971
secondary
#60A353
accent
#D65168
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652971

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

Preview Lab → · Contrast checker → · Palette generator →

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