#652D9A#652D9A

#652D9A is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.169 H 303.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#652D9A
RGBrgb(101, 45, 154)
HSLhsl(271, 55%, 39%)
HSVhsv(271, 71%, 60%)
CMYKcmyk(34.4%, 70.8%, 0%, 39.6%)
CIE-LABlab(31.75, 45.95, -49.62)
CIE-LCHlch(31.75, 67.63, 312.80°)
OKLaboklab(43.2% 0.0934 -0.1411)
OKLCHoklch(43.2% 0.169 303.5)
XYZxyz(12.1366, 6.9766, 31.2728)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D9A #629A2D
analogous
#2F2D9A #652D9A #9A2D99
triadic
#652D9A #9A652D #2D9A65
tetradic
#652D9A #9A2F2D #629A2D #2D999A
square
#652D9A #9A2F2D #629A2D #2D999A
split-complementary
#652D9A #999A2D #2D9A2F
monochromatic
#27113B #461F6B #652D9A #843EC7 #A26DD4

Accessibility & contrast

On white

8.77
#652D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#652D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D9A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D9A#FFFFFF#000000##FFFFFF
##652D9A1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#5B4660
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652d9a;
/* rgb */ color: rgb(101, 45, 154);
/* oklch */ color: oklch(43.2% 0.169 303.5);
Tailwind
colors: {
  custom: {
    50: '#966bb8',
    500: '#652d9a',
    950: '#000000',
  },
}
SCSS
$custom: #652d9a;
$custom-light: #966bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#652d9a",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 270.826,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43199,
    "c": 0.16925,
    "h": 303.5
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#652D9A
secondary
#90BB67
accent
#DE4A92
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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