#652C79#652C79

#652C79 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.7% C 0.134 H 316.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#652C79
RGBrgb(101, 44, 121)
HSLhsl(284, 47%, 32%)
HSVhsv(284, 64%, 47%)
CMYKcmyk(16.5%, 63.6%, 0%, 52.5%)
CIE-LABlab(29.28, 38.62, -33.14)
CIE-LCHlch(29.28, 50.89, 319.37°)
OKLaboklab(40.69% 0.0972 -0.0928)
OKLCHoklch(40.69% 0.134 316.3)
XYZxyz(9.7182, 5.9489, 18.7218)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C79 #40792C
analogous
#3F2C79 #652C79 #792C66
triadic
#652C79 #79652C #2C7965
tetradic
#652C79 #793F2C #40792C #2C6679
square
#652C79 #793F2C #40792C #2C6679
split-complementary
#652C79 #66792C #2C793F
monochromatic
#1A0B1F #401C4C #652C79 #8A3CA6 #A95CC4

Accessibility & contrast

On white

9.59
#652C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#652C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C79
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C79#FFFFFF#000000##FFFFFF
##652C791.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427B
Deuteranopia (green-blind)
#2D4777
Tritanopia (blue-blind)
#64394E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652c79;
/* rgb */ color: rgb(101, 44, 121);
/* oklch */ color: oklch(40.7% 0.134 316.3);
Tailwind
colors: {
  custom: {
    50: '#9369a0',
    500: '#652c79',
    950: '#000000',
  },
}
SCSS
$custom: #652c79;
$custom-light: #9369a0;
$custom-dark: #000000;
JSON
{
  "hex": "#652c79",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 284.416,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.13434,
    "h": 316.3
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#652C79
secondary
#6DAA57
accent
#D65174
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #652C79

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

Preview Lab → · Contrast checker → · Palette generator →

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