#652B8A#652B8A

#652B8A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.154 H 309.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#652B8A
RGBrgb(101, 43, 138)
HSLhsl(277, 52%, 35%)
HSVhsv(277, 69%, 54%)
CMYKcmyk(26.8%, 68.8%, 0%, 45.9%)
CIE-LABlab(30.23, 43.04, -42.26)
CIE-LCHlch(30.23, 60.32, 315.53°)
OKLaboklab(41.74% 0.0977 -0.1195)
OKLCHoklch(41.74% 0.154 309.3)
XYZxyz(10.8172, 6.3296, 24.6917)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B8A #508A2B
analogous
#362B8A #652B8A #8A2B7F
triadic
#652B8A #8A652B #2B8A65
tetradic
#652B8A #8A362B #508A2B #2B7F8A
square
#652B8A #8A362B #508A2B #2B7F8A
split-complementary
#652B8A #7F8A2B #2B8A36
monochromatic
#210E2D #431C5B #652B8A #873AB9 #A461CE

Accessibility & contrast

On white

9.27
#652B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#652B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652B8A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B8A#FFFFFF#000000##FFFFFF
##652B8A1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#1B4888
Tritanopia (blue-blind)
#603F57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652b8a;
/* rgb */ color: rgb(101, 43, 138);
/* oklch */ color: oklch(41.7% 0.154 309.3);
Tailwind
colors: {
  custom: {
    50: '#9469ad',
    500: '#652b8a',
    950: '#000000',
  },
}
SCSS
$custom: #652b8a;
$custom-light: #9469ad;
$custom-dark: #000000;
JSON
{
  "hex": "#652b8a",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 276.632,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41738,
    "c": 0.15433,
    "h": 309.3
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#652B8A
secondary
#7FB45D
accent
#DC4C84
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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