#652C8B#652C8B

#652C8B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.154 H 308.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#652C8B
RGBrgb(101, 44, 139)
HSLhsl(276, 52%, 36%)
HSVhsv(276, 68%, 55%)
CMYKcmyk(27.3%, 68.3%, 0%, 45.5%)
CIE-LABlab(30.48, 42.78, -42.48)
CIE-LCHlch(30.48, 60.29, 315.21°)
OKLaboklab(41.94% 0.0964 -0.1201)
OKLCHoklch(41.94% 0.154 308.7)
XYZxyz(10.9268, 6.4323, 25.0870)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C8B #528B2C
analogous
#352C8B #652C8B #8B2C81
triadic
#652C8B #8B652C #2C8B65
tetradic
#652C8B #8B352C #528B2C #2C818B
square
#652C8B #8B352C #528B2C #2C818B
split-complementary
#652C8B #818B2C #2C8B35
monochromatic
#210F2E #431D5D #652C8B #873BB9 #A364CE

Accessibility & contrast

On white

9.18
#652C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#652C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C8B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C8B#FFFFFF#000000##FFFFFF
##652C8B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#1A4889
Tritanopia (blue-blind)
#5F4058
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652c8b;
/* rgb */ color: rgb(101, 44, 139);
/* oklch */ color: oklch(41.9% 0.154 308.7);
Tailwind
colors: {
  custom: {
    50: '#9469ad',
    500: '#652c8b',
    950: '#000000',
  },
}
SCSS
$custom: #652c8b;
$custom-light: #9469ad;
$custom-dark: #000000;
JSON
{
  "hex": "#652c8b",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 276,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41939,
    "c": 0.15403,
    "h": 308.7
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#652C8B
secondary
#81B45F
accent
#DB4C86
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #652C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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