#652A8D#652A8D

#652A8D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.159 H 308.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#652A8D
RGBrgb(101, 42, 141)
HSLhsl(276, 54%, 36%)
HSVhsv(276, 70%, 55%)
CMYKcmyk(28.4%, 70.2%, 0%, 44.7%)
CIE-LABlab(30.27, 44.24, -44.05)
CIE-LCHlch(30.27, 62.43, 315.12°)
OKLaboklab(41.83% 0.0985 -0.1247)
OKLCHoklch(41.83% 0.159 308.3)
XYZxyz(11.0015, 6.3459, 25.8395)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A8D #528D2A
analogous
#342A8D #652A8D #8D2A83
triadic
#652A8D #8D652A #2A8D65
tetradic
#652A8D #8D342A #528D2A #2A838D
square
#652A8D #8D342A #528D2A #2A838D
split-complementary
#652A8D #838D2A #2A8D34
monochromatic
#210E2F #431C5E #652A8D #8738BC #A361D0

Accessibility & contrast

On white

9.25
#652A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652A8D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A8D#FFFFFF#000000##FFFFFF
##652A8D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#5F4058
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652a8d;
/* rgb */ color: rgb(101, 42, 141);
/* oklch */ color: oklch(41.8% 0.159 308.3);
Tailwind
colors: {
  custom: {
    50: '#9568af',
    500: '#652a8d',
    950: '#000000',
  },
}
SCSS
$custom: #652a8d;
$custom-light: #9568af;
$custom-dark: #000000;
JSON
{
  "hex": "#652a8d",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 275.758,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.15896,
    "h": 308.3
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#652A8D
secondary
#81B65D
accent
#DD4A86
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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