#652D71#652D71

#652D71 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.3% C 0.124 H 320.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#652D71
RGBrgb(101, 45, 113)
HSLhsl(289, 43%, 31%)
HSVhsv(289, 60%, 44%)
CMYKcmyk(10.6%, 60.2%, 0%, 55.7%)
CIE-LABlab(29.00, 36.34, -28.52)
CIE-LCHlch(29.00, 46.20, 321.87°)
OKLaboklab(40.33% 0.0954 -0.0793)
OKLCHoklch(40.33% 0.124 320.3)
XYZxyz(9.2855, 5.8361, 16.2570)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D71 #39712D
analogous
#432D71 #652D71 #712D5B
triadic
#652D71 #71652D #2D7165
tetradic
#652D71 #71432D #39712D #2D5B71
square
#652D71 #71432D #39712D #2D5B71
split-complementary
#652D71 #5B712D #2D7143
monochromatic
#170A19 #3E1C45 #652D71 #8C3E9D #AC5BBE

Accessibility & contrast

On white

9.69
#652D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#652D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D71
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D71#FFFFFF#000000##FFFFFF
##652D711.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4073
Deuteranopia (green-blind)
#33466F
Tritanopia (blue-blind)
#66374A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #652d71;
/* rgb */ color: rgb(101, 45, 113);
/* oklch */ color: oklch(40.3% 0.124 320.3);
Tailwind
colors: {
  custom: {
    50: '#93699a',
    500: '#652d71',
    950: '#000000',
  },
}
SCSS
$custom: #652d71;
$custom-light: #93699a;
$custom-dark: #000000;
JSON
{
  "hex": "#652d71",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 289.412,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40328,
    "c": 0.1241,
    "h": 320.3
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#652D71
secondary
#65A357
accent
#D3556B
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652D71

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

Preview Lab → · Contrast checker → · Palette generator →

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