#652B9B#652B9B

#652B9B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.173 H 303.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#652B9B
RGBrgb(101, 43, 155)
HSLhsl(271, 57%, 39%)
HSVhsv(271, 72%, 61%)
CMYKcmyk(34.8%, 72.3%, 0%, 39.2%)
CIE-LABlab(31.49, 47.15, -50.66)
CIE-LCHlch(31.49, 69.21, 312.95°)
OKLaboklab(43.04% 0.0954 -0.1442)
OKLCHoklch(43.04% 0.173 303.5)
XYZxyz(12.1457, 6.8610, 31.6884)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B9B #619B2B
analogous
#2D2B9B #652B9B #9B2B99
triadic
#652B9B #9B652B #2B9B65
tetradic
#652B9B #9B2D2B #619B2B #2B999B
square
#652B9B #9B2D2B #619B2B #2B999B
split-complementary
#652B9B #999B2B #2B9B2D
monochromatic
#27103B #461E6B #652B9B #843BC9 #A26BD6

Accessibility & contrast

On white

8.85
#652B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652B9B
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B9B#FFFFFF#000000##FFFFFF
##652B9B1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#5A4660
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652b9b;
/* rgb */ color: rgb(101, 43, 155);
/* oklch */ color: oklch(43.0% 0.173 303.5);
Tailwind
colors: {
  custom: {
    50: '#966ab9',
    500: '#652b9b',
    950: '#000000',
  },
}
SCSS
$custom: #652b9b;
$custom-light: #966ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#652b9b",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 271.071,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43035,
    "c": 0.17287,
    "h": 303.5
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#652B9B
secondary
#8FBC65
accent
#E04891
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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