#652087#652087

#652087 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.165 H 311.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#652087
RGBrgb(101, 32, 135)
HSLhsl(280, 62%, 33%)
HSVhsv(280, 76%, 53%)
CMYKcmyk(25.2%, 76.3%, 0%, 47.1%)
CIE-LABlab(28.25, 47.32, -43.59)
CIE-LCHlch(28.25, 64.34, 317.35°)
OKLaboklab(40.26% 0.1101 -0.1233)
OKLCHoklch(40.26% 0.165 311.7)
XYZxyz(10.2557, 5.5493, 23.4478)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652087 #428720
analogous
#312087 #652087 #872076
triadic
#652087 #876520 #208765
tetradic
#652087 #873120 #428720 #207687
square
#652087 #873120 #428720 #207687
split-complementary
#652087 #768720 #208731
monochromatic
#1B0924 #401456 #652087 #8A2CB8 #A84DD5

Accessibility & contrast

On white

9.95
#652087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#652087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652087
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652087#FFFFFF#000000##FFFFFF
##6520871.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#104485
Tritanopia (blue-blind)
#613852
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #652087;
/* rgb */ color: rgb(101, 32, 135);
/* oklch */ color: oklch(40.3% 0.165 311.7);
Tailwind
colors: {
  custom: {
    50: '#9563ab',
    500: '#652087',
    950: '#000000',
  },
}
SCSS
$custom: #652087;
$custom-light: #9563ab;
$custom-dark: #000000;
JSON
{
  "hex": "#652087",
  "rgb": {
    "r": 101,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 280.194,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40255,
    "c": 0.16532,
    "h": 311.7
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#652087
secondary
#6FB84B
accent
#E54378
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652087

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

Preview Lab → · Contrast checker → · Palette generator →

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