#652187#652187

#652187 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.164 H 311.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#652187
RGBrgb(101, 33, 135)
HSLhsl(280, 61%, 33%)
HSVhsv(280, 76%, 53%)
CMYKcmyk(25.2%, 75.6%, 0%, 47.1%)
CIE-LABlab(28.39, 46.91, -43.36)
CIE-LCHlch(28.39, 63.88, 317.25°)
OKLaboklab(40.36% 0.1091 -0.1227)
OKLCHoklch(40.36% 0.164 311.6)
XYZxyz(10.2830, 5.6040, 23.4570)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652187 #438721
analogous
#322187 #652187 #872176
triadic
#652187 #876521 #218765
tetradic
#652187 #873221 #438721 #217687
square
#652187 #873221 #438721 #217687
split-complementary
#652187 #768721 #218732
monochromatic
#1B0925 #401556 #652187 #8A2DB8 #A74FD4

Accessibility & contrast

On white

9.90
#652187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#652187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652187
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652187#FFFFFF#000000##FFFFFF
##6521871.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#114485
Tritanopia (blue-blind)
#613852
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #652187;
/* rgb */ color: rgb(101, 33, 135);
/* oklch */ color: oklch(40.4% 0.164 311.6);
Tailwind
colors: {
  custom: {
    50: '#9564ab',
    500: '#652187',
    950: '#000000',
  },
}
SCSS
$custom: #652187;
$custom-light: #9564ab;
$custom-dark: #000000;
JSON
{
  "hex": "#652187",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 280,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40358,
    "c": 0.16415,
    "h": 311.6
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#652187
secondary
#70B74D
accent
#E44479
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652187

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

Preview Lab → · Contrast checker → · Palette generator →

#652187 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva