#652D78#652D78

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

Color values

HEX#652D78
RGBrgb(101, 45, 120)
HSLhsl(285, 45%, 32%)
HSVhsv(285, 63%, 47%)
CMYKcmyk(15.8%, 62.5%, 0%, 52.9%)
CIE-LABlab(29.41, 37.88, -32.30)
CIE-LCHlch(29.41, 49.78, 319.54°)
OKLaboklab(40.77% 0.0958 -0.0903)
OKLCHoklch(40.77% 0.132 316.7)
XYZxyz(9.6949, 5.9999, 18.4131)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D78 #40782D
analogous
#3F2D78 #652D78 #782D66
triadic
#652D78 #78652D #2D7865
tetradic
#652D78 #783F2D #40782D #2D6678
square
#652D78 #783F2D #40782D #2D6678
split-complementary
#652D78 #66782D #2D783F
monochromatic
#1A0C1F #401C4B #652D78 #8A3EA5 #A95DC2

Accessibility & contrast

On white

9.55
#652D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652D78
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D78#FFFFFF#000000##FFFFFF
##652D781.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427A
Deuteranopia (green-blind)
#2E4776
Tritanopia (blue-blind)
#643A4E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652d78;
/* rgb */ color: rgb(101, 45, 120);
/* oklch */ color: oklch(40.8% 0.132 316.7);
Tailwind
colors: {
  custom: {
    50: '#93699f',
    500: '#652d78',
    950: '#000000',
  },
}
SCSS
$custom: #652d78;
$custom-light: #93699f;
$custom-dark: #000000;
JSON
{
  "hex": "#652d78",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 284.8,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40767,
    "c": 0.13166,
    "h": 316.7
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#652D78
secondary
#6DA958
accent
#D55374
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652D78

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

Preview Lab → · Contrast checker → · Palette generator →

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