#652D79#652D79

#652D79 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.8% C 0.133 H 316.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#652D79
RGBrgb(101, 45, 121)
HSLhsl(284, 46%, 33%)
HSVhsv(284, 63%, 47%)
CMYKcmyk(16.5%, 62.8%, 0%, 52.5%)
CIE-LABlab(29.47, 38.10, -32.84)
CIE-LCHlch(29.47, 50.30, 319.24°)
OKLaboklab(40.83% 0.0958 -0.0919)
OKLCHoklch(40.83% 0.133 316.2)
XYZxyz(9.7559, 6.0243, 18.7344)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D79 #41792D
analogous
#3F2D79 #652D79 #792D67
triadic
#652D79 #79652D #2D7965
tetradic
#652D79 #793F2D #41792D #2D6779
square
#652D79 #793F2D #41792D #2D6779
split-complementary
#652D79 #67792D #2D793F
monochromatic
#1B0C20 #401C4C #652D79 #8A3EA6 #A85DC3

Accessibility & contrast

On white

9.52
#652D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#652D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D79
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D79#FFFFFF#000000##FFFFFF
##652D791.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427B
Deuteranopia (green-blind)
#2E4777
Tritanopia (blue-blind)
#643A4E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652d79;
/* rgb */ color: rgb(101, 45, 121);
/* oklch */ color: oklch(40.8% 0.133 316.2);
Tailwind
colors: {
  custom: {
    50: '#9369a0',
    500: '#652d79',
    950: '#000000',
  },
}
SCSS
$custom: #652d79;
$custom-light: #9369a0;
$custom-dark: #000000;
JSON
{
  "hex": "#652d79",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 284.211,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40831,
    "c": 0.13275,
    "h": 316.2
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#652D79
secondary
#6EA958
accent
#D55275
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #652D79

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

Preview Lab → · Contrast checker → · Palette generator →

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