#652D9D#652D9D

#652D9D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.173 H 302.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#652D9D
RGBrgb(101, 45, 157)
HSLhsl(270, 55%, 40%)
HSVhsv(270, 71%, 62%)
CMYKcmyk(35.7%, 71.3%, 0%, 38.4%)
CIE-LABlab(31.98, 46.69, -51.08)
CIE-LCHlch(31.98, 69.20, 312.43°)
OKLaboklab(43.44% 0.0929 -0.1454)
OKLCHoklch(43.44% 0.173 302.6)
XYZxyz(12.3896, 7.0778, 32.6052)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D9D #659D2D
analogous
#2D2D9D #652D9D #9D2D9D
triadic
#652D9D #9D652D #2D9D65
tetradic
#652D9D #9D2D2D #659D2D #2D9D9D
square
#652D9D #9D2D2D #659D2D #2D9D9D
split-complementary
#652D9D #9D9D2D #2D9D2D
monochromatic
#28123E #461F6D #652D9D #843FC8 #A26FD6

Accessibility & contrast

On white

8.69
#652D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#652D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D9D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D9D#FFFFFF#000000##FFFFFF
##652D9D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#5A4862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652d9d;
/* rgb */ color: rgb(101, 45, 157);
/* oklch */ color: oklch(43.4% 0.173 302.6);
Tailwind
colors: {
  custom: {
    50: '#966bbb',
    500: '#652d9d',
    950: '#000000',
  },
}
SCSS
$custom: #652d9d;
$custom-light: #966bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#652d9d",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 270,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43435,
    "c": 0.17256,
    "h": 302.6
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#652D9D
secondary
#93BD69
accent
#DF4994
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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