#652D81#652D81

#652D81 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.4% C 0.142 H 312.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#652D81
RGBrgb(101, 45, 129)
HSLhsl(280, 48%, 34%)
HSVhsv(280, 65%, 51%)
CMYKcmyk(21.7%, 65.1%, 0%, 49.4%)
CIE-LABlab(29.98, 39.93, -37.05)
CIE-LCHlch(29.98, 54.47, 317.14°)
OKLaboklab(41.36% 0.0958 -0.1042)
OKLCHoklch(41.36% 0.142 312.6)
XYZxyz(10.2670, 6.2287, 21.4260)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D81 #49812D
analogous
#3B2D81 #652D81 #812D73
triadic
#652D81 #81652D #2D8165
tetradic
#652D81 #813B2D #49812D #2D7381
square
#652D81 #813B2D #49812D #2D7381
split-complementary
#652D81 #73812D #2D813B
monochromatic
#1E0D26 #411D54 #652D81 #893DAE #A561C8

Accessibility & contrast

On white

9.35
#652D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#652D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D81
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D81#FFFFFF#000000##FFFFFF
##652D811.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084484
Deuteranopia (green-blind)
#27487F
Tritanopia (blue-blind)
#623D53
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652d81;
/* rgb */ color: rgb(101, 45, 129);
/* oklch */ color: oklch(41.4% 0.142 312.6);
Tailwind
colors: {
  custom: {
    50: '#946aa6',
    500: '#652d81',
    950: '#000000',
  },
}
SCSS
$custom: #652d81;
$custom-light: #946aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#652d81",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 280,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41364,
    "c": 0.14154,
    "h": 312.6
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#652D81
secondary
#77AE5C
accent
#D8507D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #652D81

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

Preview Lab → · Contrast checker → · Palette generator →

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