#652170#652170

#652170 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.7% C 0.142 H 321.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#652170
RGBrgb(101, 33, 112)
HSLhsl(292, 54%, 28%)
HSVhsv(292, 71%, 44%)
CMYKcmyk(9.8%, 70.5%, 0%, 56.1%)
CIE-LABlab(26.80, 41.99, -31.36)
CIE-LCHlch(26.80, 52.41, 323.24°)
OKLaboklab(38.72% 0.1112 -0.0875)
OKLCHoklch(38.72% 0.142 321.8)
XYZxyz(8.8350, 5.0247, 15.8306)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652170 #2C7021
analogous
#3D2170 #652170 #702153
triadic
#652170 #706521 #217065
tetradic
#652170 #703D21 #2C7021 #215370
square
#652170 #703D21 #2C7021 #215370
split-complementary
#652170 #537021 #21703D
monochromatic
#150718 #3A1341 #652170 #902F9F #B544C8

Accessibility & contrast

On white

10.47
#652170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#652170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652170
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652170#FFFFFF#000000##FFFFFF
##6521701.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093A72
Deuteranopia (green-blind)
#2B426E
Tritanopia (blue-blind)
#662E45
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #652170;
/* rgb */ color: rgb(101, 33, 112);
/* oklch */ color: oklch(38.7% 0.142 321.8);
Tailwind
colors: {
  custom: {
    50: '#946399',
    500: '#652170',
    950: '#000000',
  },
}
SCSS
$custom: #652170;
$custom-light: #946399;
$custom-dark: #000000;
JSON
{
  "hex": "#652170",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 291.646,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38721,
    "c": 0.14152,
    "h": 321.8
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#652170
secondary
#56A449
accent
#DE4A5F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #652170

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

Preview Lab → · Contrast checker → · Palette generator →

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