#652C8A#652C8A

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

Color values

HEX#652C8A
RGBrgb(101, 44, 138)
HSLhsl(276, 52%, 36%)
HSVhsv(276, 68%, 54%)
CMYKcmyk(26.8%, 68.1%, 0%, 45.9%)
CIE-LABlab(30.41, 42.55, -41.97)
CIE-LCHlch(30.41, 59.76, 315.39°)
OKLaboklab(41.87% 0.0965 -0.1186)
OKLCHoklch(41.87% 0.153 309.1)
XYZxyz(10.8540, 6.4032, 24.7040)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C8A #518A2C
analogous
#362C8A #652C8A #8A2C80
triadic
#652C8A #8A652C #2C8A65
tetradic
#652C8A #8A362C #518A2C #2C808A
square
#652C8A #8A362C #518A2C #2C808A
split-complementary
#652C8A #808A2C #2C8A36
monochromatic
#210E2D #431D5C #652C8A #873BB8 #A363CD

Accessibility & contrast

On white

9.21
#652C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#652C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C8A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C8A#FFFFFF#000000##FFFFFF
##652C8A1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#1C4888
Tritanopia (blue-blind)
#604057
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652c8a;
/* rgb */ color: rgb(101, 44, 138);
/* oklch */ color: oklch(41.9% 0.153 309.1);
Tailwind
colors: {
  custom: {
    50: '#9469ad',
    500: '#652c8a',
    950: '#000000',
  },
}
SCSS
$custom: #652c8a;
$custom-light: #9469ad;
$custom-dark: #000000;
JSON
{
  "hex": "#652c8a",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 276.383,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41866,
    "c": 0.15293,
    "h": 309.1
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#652C8A
secondary
#80B45E
accent
#DB4D85
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #652C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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