#652F78#652F78

#652F78 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.1% C 0.128 H 316.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#652F78
RGBrgb(101, 47, 120)
HSLhsl(284, 44%, 33%)
HSVhsv(284, 61%, 47%)
CMYKcmyk(15.8%, 60.8%, 0%, 52.9%)
CIE-LABlab(29.80, 36.82, -31.68)
CIE-LCHlch(29.80, 48.57, 319.29°)
OKLaboklab(41.05% 0.093 -0.0885)
OKLCHoklch(41.05% 0.128 316.4)
XYZxyz(9.7730, 6.1561, 18.4391)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F78 #42782F
analogous
#412F78 #652F78 #782F66
triadic
#652F78 #78652F #2F7865
tetradic
#652F78 #78412F #42782F #2F6678
square
#652F78 #78412F #42782F #2F6678
split-complementary
#652F78 #66782F #2F7841
monochromatic
#1B0D20 #401E4C #652F78 #8A40A4 #A860C1

Accessibility & contrast

On white

9.41
#652F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#652F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F78
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F78#FFFFFF#000000##FFFFFF
##652F781.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437A
Deuteranopia (green-blind)
#304876
Tritanopia (blue-blind)
#643B4F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652f78;
/* rgb */ color: rgb(101, 47, 120);
/* oklch */ color: oklch(41.1% 0.128 316.4);
Tailwind
colors: {
  custom: {
    50: '#936b9f',
    500: '#652f78',
    950: '#000000',
  },
}
SCSS
$custom: #652f78;
$custom-light: #936b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#652f78",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 284.384,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41052,
    "c": 0.12841,
    "h": 316.4
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#652F78
secondary
#6FA85B
accent
#D35475
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #652F78

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

Preview Lab → · Contrast checker → · Palette generator →

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