#652A8B#652A8B

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

Color values

HEX#652A8B
RGBrgb(101, 42, 139)
HSLhsl(276, 54%, 35%)
HSVhsv(276, 70%, 55%)
CMYKcmyk(27.3%, 69.8%, 0%, 45.5%)
CIE-LABlab(30.13, 43.77, -43.04)
CIE-LCHlch(30.13, 61.39, 315.48°)
OKLaboklab(41.69% 0.0988 -0.1218)
OKLCHoklch(41.69% 0.157 309)
XYZxyz(10.8541, 6.2869, 25.0628)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A8B #508B2A
analogous
#352A8B #652A8B #8B2A80
triadic
#652A8B #8B652A #2A8B65
tetradic
#652A8B #8B352A #508B2A #2A808B
square
#652A8B #8B352A #508B2A #2A808B
split-complementary
#652A8B #808B2A #2A8B35
monochromatic
#210E2D #431C5C #652A8B #8738BA #A460CF

Accessibility & contrast

On white

9.30
#652A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#652A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A8B
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A8B#FFFFFF#000000##FFFFFF
##652A8B1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#184889
Tritanopia (blue-blind)
#5F3F57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652a8b;
/* rgb */ color: rgb(101, 42, 139);
/* oklch */ color: oklch(41.7% 0.157 309.0);
Tailwind
colors: {
  custom: {
    50: '#9468ad',
    500: '#652a8b',
    950: '#000000',
  },
}
SCSS
$custom: #652a8b;
$custom-light: #9468ad;
$custom-dark: #000000;
JSON
{
  "hex": "#652a8b",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 276.495,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.15679,
    "h": 309
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#652A8B
secondary
#7FB55C
accent
#DD4B84
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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