#652F76#652F76

#652F76 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 40.9% C 0.126 H 317.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#652F76
RGBrgb(101, 47, 118)
HSLhsl(286, 43%, 32%)
HSVhsv(286, 60%, 46%)
CMYKcmyk(14.4%, 60.2%, 0%, 53.7%)
CIE-LABlab(29.68, 36.37, -30.61)
CIE-LCHlch(29.68, 47.53, 319.92°)
OKLaboklab(40.93% 0.0929 -0.0854)
OKLCHoklch(40.93% 0.126 317.4)
XYZxyz(9.6529, 6.1081, 17.8065)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F76 #40762F
analogous
#422F76 #652F76 #762F63
triadic
#652F76 #76652F #2F7665
tetradic
#652F76 #76422F #40762F #2F6376
square
#652F76 #76422F #40762F #2F6376
split-complementary
#652F76 #63762F #2F7642
monochromatic
#1A0C1E #401E4A #652F76 #8A40A2 #A960C0

Accessibility & contrast

On white

9.45
#652F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#652F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F76
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F76#FFFFFF#000000##FFFFFF
##652F761.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4278
Deuteranopia (green-blind)
#314874
Tritanopia (blue-blind)
#653A4E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652f76;
/* rgb */ color: rgb(101, 47, 118);
/* oklch */ color: oklch(40.9% 0.126 317.4);
Tailwind
colors: {
  custom: {
    50: '#936b9e',
    500: '#652f76',
    950: '#000000',
  },
}
SCSS
$custom: #652f76;
$custom-light: #936b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#652f76",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 285.634,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40926,
    "c": 0.1262,
    "h": 317.4
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#652F76
secondary
#6DA75A
accent
#D35573
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #652F76

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

Preview Lab → · Contrast checker → · Palette generator →

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