#652D96#652D96

#652D96 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.165 H 304.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#652D96
RGBrgb(101, 45, 150)
HSLhsl(272, 54%, 38%)
HSVhsv(272, 70%, 59%)
CMYKcmyk(32.7%, 70%, 0%, 41.2%)
CIE-LABlab(31.45, 44.96, -47.67)
CIE-LCHlch(31.45, 65.53, 313.32°)
OKLaboklab(42.89% 0.094 -0.1354)
OKLCHoklch(42.89% 0.165 304.8)
XYZxyz(11.8090, 6.8455, 29.5474)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D96 #5E962D
analogous
#302D96 #652D96 #962D92
triadic
#652D96 #96652D #2D9665
tetradic
#652D96 #96302D #5E962D #2D9296
square
#652D96 #96302D #5E962D #2D9296
split-complementary
#652D96 #92962D #2D9630
monochromatic
#261138 #451F67 #652D96 #853CC4 #A26BD3

Accessibility & contrast

On white

8.86
#652D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#652D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D96
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D96#FFFFFF#000000##FFFFFF
##652D961.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#034A94
Tritanopia (blue-blind)
#5C455E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652d96;
/* rgb */ color: rgb(101, 45, 150);
/* oklch */ color: oklch(42.9% 0.165 304.8);
Tailwind
colors: {
  custom: {
    50: '#956ab6',
    500: '#652d96',
    950: '#000000',
  },
}
SCSS
$custom: #652d96;
$custom-light: #956ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#652d96",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 272,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42889,
    "c": 0.16482,
    "h": 304.8
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#652D96
secondary
#8DB965
accent
#DD4B8F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652D96

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

Preview Lab → · Contrast checker → · Palette generator →

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