#652168#652168

#652168 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.2% C 0.134 H 326.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#652168
RGBrgb(101, 33, 104)
HSLhsl(297, 52%, 27%)
HSVhsv(297, 68%, 41%)
CMYKcmyk(2.9%, 68.3%, 0%, 59.2%)
CIE-LABlab(26.32, 40.40, -26.99)
CIE-LCHlch(26.32, 48.59, 326.26°)
OKLaboklab(38.21% 0.1111 -0.0748)
OKLCHoklch(38.21% 0.134 326.1)
XYZxyz(8.4092, 4.8544, 13.5881)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652168 #246821
analogous
#422168 #652168 #682148
triadic
#652168 #686521 #216865
tetradic
#652168 #684221 #246821 #214868
square
#652168 #684221 #246821 #214868
split-complementary
#652168 #486821 #216842
monochromatic
#170717 #38123A #652168 #923096 #BD41C3

Accessibility & contrast

On white

10.66
#652168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#652168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652168
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652168#FFFFFF#000000##FFFFFF
##6521681.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15396A
Deuteranopia (green-blind)
#304166
Tritanopia (blue-blind)
#682B41
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #652168;
/* rgb */ color: rgb(101, 33, 104);
/* oklch */ color: oklch(38.2% 0.134 326.1);
Tailwind
colors: {
  custom: {
    50: '#936293',
    500: '#652168',
    950: '#000000',
  },
}
SCSS
$custom: #652168;
$custom-light: #936293;
$custom-dark: #000000;
JSON
{
  "hex": "#652168",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 297.465,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3821,
    "c": 0.13394,
    "h": 326.1
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#652168
secondary
#4C9C49
accent
#DB4D53
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0D050D
muted
#7E7A7E

Preview Lab

Preview with #652168

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

Preview Lab → · Contrast checker → · Palette generator →

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