#652C78#652C78

#652C78 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.6% C 0.133 H 316.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#652C78
RGBrgb(101, 44, 120)
HSLhsl(285, 46%, 32%)
HSVhsv(285, 63%, 47%)
CMYKcmyk(15.8%, 63.3%, 0%, 52.9%)
CIE-LABlab(29.22, 38.40, -32.61)
CIE-LCHlch(29.22, 50.37, 319.66°)
OKLaboklab(40.63% 0.0971 -0.0912)
OKLCHoklch(40.63% 0.133 316.8)
XYZxyz(9.6572, 5.9245, 18.4005)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C78 #3F782C
analogous
#3F2C78 #652C78 #782C65
triadic
#652C78 #78652C #2C7865
tetradic
#652C78 #783F2C #3F782C #2C6578
square
#652C78 #783F2C #3F782C #2C6578
split-complementary
#652C78 #65782C #2C783F
monochromatic
#1A0B1E #3F1C4B #652C78 #8B3CA5 #A95BC3

Accessibility & contrast

On white

9.61
#652C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#652C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C78
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C78#FFFFFF#000000##FFFFFF
##652C781.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16417A
Deuteranopia (green-blind)
#2D4776
Tritanopia (blue-blind)
#64394D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652c78;
/* rgb */ color: rgb(101, 44, 120);
/* oklch */ color: oklch(40.6% 0.133 316.8);
Tailwind
colors: {
  custom: {
    50: '#93699f',
    500: '#652c78',
    950: '#000000',
  },
}
SCSS
$custom: #652c78;
$custom-light: #93699f;
$custom-dark: #000000;
JSON
{
  "hex": "#652c78",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 285,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40628,
    "c": 0.13326,
    "h": 316.8
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#652C78
secondary
#6BA957
accent
#D65273
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652C78

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

Preview Lab → · Contrast checker → · Palette generator →

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