#652197#652197

#652197 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.180 H 306.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#652197
RGBrgb(101, 33, 151)
HSLhsl(275, 64%, 36%)
HSVhsv(275, 78%, 59%)
CMYKcmyk(33.1%, 78.1%, 0%, 40.8%)
CIE-LABlab(29.64, 50.56, -51.23)
CIE-LCHlch(29.64, 71.98, 314.62°)
OKLaboklab(41.63% 0.1059 -0.1458)
OKLCHoklch(41.63% 0.18 306)
XYZxyz(11.4954, 6.0889, 29.8418)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652197 #539721
analogous
#2A2197 #652197 #97218E
triadic
#652197 #976521 #219765
tetradic
#652197 #972A21 #539721 #218E97
square
#652197 #972A21 #539721 #218E97
split-complementary
#652197 #8E9721 #21972A
monochromatic
#220B33 #431665 #652197 #872CC9 #A358DA

Accessibility & contrast

On white

9.47
#652197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#652197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652197
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652197#FFFFFF#000000##FFFFFF
##6521971.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#5C3F5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652197;
/* rgb */ color: rgb(101, 33, 151);
/* oklch */ color: oklch(41.6% 0.180 306.0);
Tailwind
colors: {
  custom: {
    50: '#9664b6',
    500: '#652197',
    950: '#000000',
  },
}
SCSS
$custom: #652197;
$custom-light: #9664b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652197",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 274.576,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41627,
    "c": 0.18017,
    "h": 306
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#652197
secondary
#82BE55
accent
#E74187
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652197

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

Preview Lab → · Contrast checker → · Palette generator →

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