#652C96#652C96

#652C96 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.166 H 304.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#652C96
RGBrgb(101, 44, 150)
HSLhsl(272, 55%, 38%)
HSVhsv(272, 71%, 59%)
CMYKcmyk(32.7%, 70.7%, 0%, 41.2%)
CIE-LABlab(31.28, 45.45, -47.95)
CIE-LCHlch(31.28, 66.07, 313.46°)
OKLaboklab(42.77% 0.0951 -0.1362)
OKLCHoklch(42.77% 0.166 304.9)
XYZxyz(11.7713, 6.7701, 29.5349)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C96 #5D962C
analogous
#302C96 #652C96 #962C92
triadic
#652C96 #96652C #2C9665
tetradic
#652C96 #96302C #5D962C #2C9296
square
#652C96 #96302C #5D962C #2C9296
split-complementary
#652C96 #92962C #2C9630
monochromatic
#251037 #451E67 #652C96 #853AC5 #A269D3

Accessibility & contrast

On white

8.92
#652C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#652C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C96
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C96#FFFFFF#000000##FFFFFF
##652C961.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#004A94
Tritanopia (blue-blind)
#5C445E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652c96;
/* rgb */ color: rgb(101, 44, 150);
/* oklch */ color: oklch(42.8% 0.166 304.9);
Tailwind
colors: {
  custom: {
    50: '#956ab6',
    500: '#652c96',
    950: '#000000',
  },
}
SCSS
$custom: #652c96;
$custom-light: #956ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#652c96",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 272.264,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42765,
    "c": 0.16613,
    "h": 304.9
  },
  "luminance": 0.0677
}

Semantic roles & 50–950 ramp

primary
#652C96
secondary
#8CBA64
accent
#DE4A8E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652C96

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

Preview Lab → · Contrast checker → · Palette generator →

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