#652A79#652A79

#652A79 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.4% C 0.137 H 316.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#652A79
RGBrgb(101, 42, 121)
HSLhsl(285, 48%, 32%)
HSVhsv(285, 65%, 47%)
CMYKcmyk(16.5%, 65.3%, 0%, 52.5%)
CIE-LABlab(28.91, 39.64, -33.73)
CIE-LCHlch(28.91, 52.05, 319.60°)
OKLaboklab(40.42% 0.0998 -0.0945)
OKLCHoklch(40.42% 0.137 316.6)
XYZxyz(9.6455, 5.8035, 18.6975)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A79 #3E792A
analogous
#3E2A79 #652A79 #792A66
triadic
#652A79 #79652A #2A7965
tetradic
#652A79 #793E2A #3E792A #2A6679
square
#652A79 #793E2A #3E792A #2A6679
split-complementary
#652A79 #66792A #2A793E
monochromatic
#190A1E #3F1A4C #652A79 #8B3AA6 #AA58C5

Accessibility & contrast

On white

9.72
#652A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#652A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A79
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A79#FFFFFF#000000##FFFFFF
##652A791.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417B
Deuteranopia (green-blind)
#2B4677
Tritanopia (blue-blind)
#64384D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #652a79;
/* rgb */ color: rgb(101, 42, 121);
/* oklch */ color: oklch(40.4% 0.137 316.6);
Tailwind
colors: {
  custom: {
    50: '#9368a0',
    500: '#652a79',
    950: '#000000',
  },
}
SCSS
$custom: #652a79;
$custom-light: #9368a0;
$custom-dark: #000000;
JSON
{
  "hex": "#652a79",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 284.81,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40423,
    "c": 0.13744,
    "h": 316.6
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#652A79
secondary
#6AAB54
accent
#D85072
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #652A79

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

Preview Lab → · Contrast checker → · Palette generator →

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