#652A97#652A97

#652A97 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.170 H 304.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#652A97
RGBrgb(101, 42, 151)
HSLhsl(272, 56%, 38%)
HSVhsv(272, 72%, 59%)
CMYKcmyk(33.1%, 72.2%, 0%, 40.8%)
CIE-LABlab(31.01, 46.64, -48.99)
CIE-LCHlch(31.01, 67.65, 313.59°)
OKLaboklab(42.6% 0.0971 -0.1393)
OKLCHoklch(42.6% 0.17 304.9)
XYZxyz(11.7795, 6.6571, 29.9365)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A97 #5C972A
analogous
#2E2A97 #652A97 #972A92
triadic
#652A97 #97652A #2A9765
tetradic
#652A97 #972E2A #5C972A #2A9297
square
#652A97 #972E2A #5C972A #2A9297
split-complementary
#652A97 #92972A #2A972E
monochromatic
#250F37 #451D67 #652A97 #8537C7 #A267D5

Accessibility & contrast

On white

9.01
#652A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#652A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A97
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A97#FFFFFF#000000##FFFFFF
##652A971.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#5C445D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652a97;
/* rgb */ color: rgb(101, 42, 151);
/* oklch */ color: oklch(42.6% 0.170 304.9);
Tailwind
colors: {
  custom: {
    50: '#9569b6',
    500: '#652a97',
    950: '#000000',
  },
}
SCSS
$custom: #652a97;
$custom-light: #9569b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652a97",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 272.477,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.426,
    "c": 0.16977,
    "h": 304.9
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#652A97
secondary
#8BBB62
accent
#E0488E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652A97

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

Preview Lab → · Contrast checker → · Palette generator →

#652A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva