#652D9B#652D9B

#652D9B is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.170 H 303.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#652D9B
RGBrgb(101, 45, 155)
HSLhsl(271, 55%, 39%)
HSVhsv(271, 71%, 61%)
CMYKcmyk(34.8%, 71%, 0%, 39.2%)
CIE-LABlab(31.83, 46.20, -50.11)
CIE-LCHlch(31.83, 68.15, 312.67°)
OKLaboklab(43.28% 0.0932 -0.1426)
OKLCHoklch(43.28% 0.17 303.2)
XYZxyz(12.2202, 7.0100, 31.7133)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D9B #639B2D
analogous
#2E2D9B #652D9B #9B2D9A
triadic
#652D9B #9B652D #2D9B65
tetradic
#652D9B #9B2E2D #639B2D #2D9A9B
square
#652D9B #9B2E2D #639B2D #2D9A9B
split-complementary
#652D9B #9A9B2D #2D9B2E
monochromatic
#27113C #461F6C #652D9B #843EC7 #A26ED5

Accessibility & contrast

On white

8.74
#652D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652D9B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D9B#FFFFFF#000000##FFFFFF
##652D9B1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#5A4761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652d9b;
/* rgb */ color: rgb(101, 45, 155);
/* oklch */ color: oklch(43.3% 0.170 303.2);
Tailwind
colors: {
  custom: {
    50: '#966bb9',
    500: '#652d9b',
    950: '#000000',
  },
}
SCSS
$custom: #652d9b;
$custom-light: #966bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#652d9b",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 270.545,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43277,
    "c": 0.17035,
    "h": 303.2
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#652D9B
secondary
#91BC68
accent
#DE4993
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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