#652186#652186

#652186 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.163 H 312.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#652186
RGBrgb(101, 33, 134)
HSLhsl(280, 60%, 33%)
HSVhsv(280, 75%, 53%)
CMYKcmyk(24.6%, 75.4%, 0%, 47.5%)
CIE-LABlab(28.32, 46.69, -42.86)
CIE-LCHlch(28.32, 63.38, 317.45°)
OKLaboklab(40.28% 0.1092 -0.1212)
OKLCHoklch(40.28% 0.163 312)
XYZxyz(10.2130, 5.5759, 23.0879)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652186 #428621
analogous
#322186 #652186 #862174
triadic
#652186 #866521 #218665
tetradic
#652186 #863221 #428621 #217486
square
#652186 #863221 #428621 #217486
split-complementary
#652186 #748621 #218632
monochromatic
#1B0924 #401555 #652186 #8A2DB7 #A84ED3

Accessibility & contrast

On white

9.93
#652186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652186
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652186#FFFFFF#000000##FFFFFF
##6521861.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652186;
/* rgb */ color: rgb(101, 33, 134);
/* oklch */ color: oklch(40.3% 0.163 312.0);
Tailwind
colors: {
  custom: {
    50: '#9563aa',
    500: '#652186',
    950: '#000000',
  },
}
SCSS
$custom: #652186;
$custom-light: #9563aa;
$custom-dark: #000000;
JSON
{
  "hex": "#652186",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 280.396,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.16315,
    "h": 312
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#652186
secondary
#6FB74C
accent
#E44478
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652186

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

Preview Lab → · Contrast checker → · Palette generator →

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