#652386#652386

#652386 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.161 H 311.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#652386
RGBrgb(101, 35, 134)
HSLhsl(280, 59%, 33%)
HSVhsv(280, 74%, 53%)
CMYKcmyk(24.6%, 73.9%, 0%, 47.5%)
CIE-LABlab(28.62, 45.83, -42.37)
CIE-LCHlch(28.62, 62.42, 317.25°)
OKLaboklab(40.49% 0.1072 -0.1198)
OKLCHoklch(40.49% 0.161 311.8)
XYZxyz(10.2701, 5.6903, 23.1070)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652386 #448623
analogous
#332386 #652386 #862375
triadic
#652386 #866523 #238665
tetradic
#652386 #863323 #448623 #237586
square
#652386 #863323 #448623 #237586
split-complementary
#652386 #758623 #238633
monochromatic
#1C0A25 #401655 #652386 #8A30B7 #A752D2

Accessibility & contrast

On white

9.82
#652386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#652386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652386
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652386#FFFFFF#000000##FFFFFF
##6523861.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#164584
Tritanopia (blue-blind)
#613952
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #652386;
/* rgb */ color: rgb(101, 35, 134);
/* oklch */ color: oklch(40.5% 0.161 311.8);
Tailwind
colors: {
  custom: {
    50: '#9564aa',
    500: '#652386',
    950: '#000000',
  },
}
SCSS
$custom: #652386;
$custom-light: #9564aa;
$custom-dark: #000000;
JSON
{
  "hex": "#652386",
  "rgb": {
    "r": 101,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 280,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40495,
    "c": 0.1607,
    "h": 311.8
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#652386
secondary
#71B54F
accent
#E2467A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652386

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

Preview Lab → · Contrast checker → · Palette generator →

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