#652B71#652B71

#652B71 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 320.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#652B71
RGBrgb(101, 43, 113)
HSLhsl(290, 45%, 31%)
HSVhsv(290, 62%, 44%)
CMYKcmyk(10.6%, 61.9%, 0%, 55.7%)
CIE-LABlab(28.61, 37.38, -29.14)
CIE-LCHlch(28.61, 47.40, 322.07°)
OKLaboklab(40.05% 0.0983 -0.0811)
OKLCHoklch(40.05% 0.127 320.5)
XYZxyz(9.2110, 5.6871, 16.2321)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B71 #37712B
analogous
#422B71 #652B71 #712B5A
triadic
#652B71 #71652B #2B7165
tetradic
#652B71 #71422B #37712B #2B5A71
square
#652B71 #71422B #37712B #2B5A71
split-complementary
#652B71 #5A712B #2B7142
monochromatic
#160918 #3D1A45 #652B71 #8D3C9D #AD57BF

Accessibility & contrast

On white

9.83
#652B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#652B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652B71
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B71#FFFFFF#000000##FFFFFF
##652B711.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3F73
Deuteranopia (green-blind)
#31466F
Tritanopia (blue-blind)
#663649
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #652b71;
/* rgb */ color: rgb(101, 43, 113);
/* oklch */ color: oklch(40.0% 0.127 320.5);
Tailwind
colors: {
  custom: {
    50: '#93689a',
    500: '#652b71',
    950: '#000000',
  },
}
SCSS
$custom: #652b71;
$custom-light: #93689a;
$custom-dark: #000000;
JSON
{
  "hex": "#652b71",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 289.714,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.1274,
    "h": 320.5
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#652B71
secondary
#62A355
accent
#D55369
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652B71

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

Preview Lab → · Contrast checker → · Palette generator →

#652B71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva