#652182#652182

#652182 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.159 H 313.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#652182
RGBrgb(101, 33, 130)
HSLhsl(282, 60%, 32%)
HSVhsv(282, 75%, 51%)
CMYKcmyk(22.3%, 74.6%, 0%, 49%)
CIE-LABlab(28.02, 45.80, -40.82)
CIE-LCHlch(28.02, 61.36, 318.29°)
OKLaboklab(39.98% 0.1098 -0.1152)
OKLCHoklch(39.98% 0.159 313.6)
XYZxyz(9.9393, 5.4664, 21.6463)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652182 #3E8221
analogous
#352182 #652182 #82216F
triadic
#652182 #826521 #218265
tetradic
#652182 #823521 #3E8221 #216F82
square
#652182 #823521 #3E8221 #216F82
split-complementary
#652182 #6F8221 #218235
monochromatic
#190820 #3F1551 #652182 #8B2DB3 #AA4CD2

Accessibility & contrast

On white

10.03
#652182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#652182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652182
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652182#FFFFFF#000000##FFFFFF
##6521821.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#194480
Tritanopia (blue-blind)
#62364F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #652182;
/* rgb */ color: rgb(101, 33, 130);
/* oklch */ color: oklch(40.0% 0.159 313.6);
Tailwind
colors: {
  custom: {
    50: '#9463a7',
    500: '#652182',
    950: '#000000',
  },
}
SCSS
$custom: #652182;
$custom-light: #9463a7;
$custom-dark: #000000;
JSON
{
  "hex": "#652182",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 282.062,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39982,
    "c": 0.15917,
    "h": 313.6
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#652182
secondary
#6AB44A
accent
#E34574
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #652182

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

Preview Lab → · Contrast checker → · Palette generator →

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