#652178#652178

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

Color values

HEX#652178
RGBrgb(101, 33, 120)
HSLhsl(287, 57%, 30%)
HSVhsv(287, 73%, 47%)
CMYKcmyk(15.8%, 72.5%, 0%, 52.9%)
CIE-LABlab(27.33, 43.65, -35.63)
CIE-LCHlch(27.33, 56.35, 320.77°)
OKLaboklab(39.26% 0.1109 -0.1)
OKLCHoklch(39.26% 0.149 317.9)
XYZxyz(9.3004, 5.2109, 18.2816)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652178 #347821
analogous
#3A2178 #652178 #78215F
triadic
#652178 #786521 #217865
tetradic
#652178 #783A21 #347821 #215F78
square
#652178 #783A21 #347821 #215F78
split-complementary
#652178 #5F7821 #21783A
monochromatic
#140718 #3D1448 #652178 #8D2EA8 #AF47CC

Accessibility & contrast

On white

10.28
#652178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#652178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652178
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652178#FFFFFF#000000##FFFFFF
##6521781.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652178;
/* rgb */ color: rgb(101, 33, 120);
/* oklch */ color: oklch(39.3% 0.149 317.9);
Tailwind
colors: {
  custom: {
    50: '#94639f',
    500: '#652178',
    950: '#000000',
  },
}
SCSS
$custom: #652178;
$custom-light: #94639f;
$custom-dark: #000000;
JSON
{
  "hex": "#652178",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 286.897,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.14928,
    "h": 317.9
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#652178
secondary
#5FAB4A
accent
#E04869
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652178

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

Preview Lab → · Contrast checker → · Palette generator →

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