#652097#652097

#652097 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.181 H 306.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#652097
RGBrgb(101, 32, 151)
HSLhsl(275, 65%, 36%)
HSVhsv(275, 79%, 59%)
CMYKcmyk(33.1%, 78.8%, 0%, 40.8%)
CIE-LABlab(29.50, 50.96, -51.45)
CIE-LCHlch(29.50, 72.42, 314.72°)
OKLaboklab(41.53% 0.1067 -0.1464)
OKLCHoklch(41.53% 0.181 306.1)
XYZxyz(11.4680, 6.0342, 29.8327)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652097 #529720
analogous
#2A2097 #652097 #97208D
triadic
#652097 #976520 #209765
tetradic
#652097 #972A20 #529720 #208D97
square
#652097 #972A20 #529720 #208D97
split-complementary
#652097 #8D9720 #20972A
monochromatic
#210B32 #431564 #652097 #872BC9 #A356DB

Accessibility & contrast

On white

9.52
#652097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#652097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652097
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652097#FFFFFF#000000##FFFFFF
##6520971.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#5C3E5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652097;
/* rgb */ color: rgb(101, 32, 151);
/* oklch */ color: oklch(41.5% 0.181 306.1);
Tailwind
colors: {
  custom: {
    50: '#9664b6',
    500: '#652097',
    950: '#000000',
  },
}
SCSS
$custom: #652097;
$custom-light: #9664b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652097",
  "rgb": {
    "r": 101,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 274.79,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41531,
    "c": 0.18121,
    "h": 306.1
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#652097
secondary
#81BF54
accent
#E84086
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652097

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

Preview Lab → · Contrast checker → · Palette generator →

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