#652B81#652B81

#652B81 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.1% C 0.145 H 312.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#652B81
RGBrgb(101, 43, 129)
HSLhsl(280, 50%, 34%)
HSVhsv(280, 67%, 51%)
CMYKcmyk(21.7%, 66.7%, 0%, 49.4%)
CIE-LABlab(29.61, 40.94, -37.64)
CIE-LCHlch(29.61, 55.62, 317.40°)
OKLaboklab(41.1% 0.0983 -0.1059)
OKLCHoklch(41.1% 0.145 312.9)
XYZxyz(10.1925, 6.0797, 21.4012)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B81 #47812B
analogous
#3A2B81 #652B81 #812B72
triadic
#652B81 #81652B #2B8165
tetradic
#652B81 #813A2B #47812B #2B7281
square
#652B81 #813A2B #47812B #2B7281
split-complementary
#652B81 #72812B #2B813A
monochromatic
#1D0C25 #411C53 #652B81 #893AAF #A65DC9

Accessibility & contrast

On white

9.48
#652B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#652B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652B81
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B81#FFFFFF#000000##FFFFFF
##652B811.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014384
Deuteranopia (green-blind)
#25477F
Tritanopia (blue-blind)
#623C52
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652b81;
/* rgb */ color: rgb(101, 43, 129);
/* oklch */ color: oklch(41.1% 0.145 312.9);
Tailwind
colors: {
  custom: {
    50: '#9469a6',
    500: '#652b81',
    950: '#000000',
  },
}
SCSS
$custom: #652b81;
$custom-light: #9469a6;
$custom-dark: #000000;
JSON
{
  "hex": "#652b81",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 280.465,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41097,
    "c": 0.14454,
    "h": 312.9
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#652B81
secondary
#75AF59
accent
#DA4E7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #652B81

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

Preview Lab → · Contrast checker → · Palette generator →

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