#652179#652179

#652179 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.150 H 317.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#652179
RGBrgb(101, 33, 121)
HSLhsl(286, 57%, 30%)
HSVhsv(286, 73%, 47%)
CMYKcmyk(16.5%, 72.7%, 0%, 52.5%)
CIE-LABlab(27.39, 43.86, -36.16)
CIE-LCHlch(27.39, 56.84, 320.50°)
OKLaboklab(39.33% 0.1108 -0.1015)
OKLCHoklch(39.33% 0.15 317.5)
XYZxyz(9.3614, 5.2353, 18.6029)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652179 #357921
analogous
#392179 #652179 #792161
triadic
#652179 #796521 #217965
tetradic
#652179 #793921 #357921 #216179
square
#652179 #793921 #357921 #216179
split-complementary
#652179 #617921 #217939
monochromatic
#150719 #3D1449 #652179 #8D2EA9 #AF47CD

Accessibility & contrast

On white

10.26
#652179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#652179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652179
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652179#FFFFFF#000000##FFFFFF
##6521791.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#244377
Tritanopia (blue-blind)
#64324A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #652179;
/* rgb */ color: rgb(101, 33, 121);
/* oklch */ color: oklch(39.3% 0.150 317.5);
Tailwind
colors: {
  custom: {
    50: '#9463a0',
    500: '#652179',
    950: '#000000',
  },
}
SCSS
$custom: #652179;
$custom-light: #9463a0;
$custom-dark: #000000;
JSON
{
  "hex": "#652179",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 286.364,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39333,
    "c": 0.15028,
    "h": 317.5
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#652179
secondary
#60AC4A
accent
#E0476A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #652179

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

Preview Lab → · Contrast checker → · Palette generator →

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