#652A9D#652A9D

#652A9D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.176 H 303.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#652A9D
RGBrgb(101, 42, 157)
HSLhsl(271, 58%, 39%)
HSVhsv(271, 73%, 62%)
CMYKcmyk(35.7%, 73.2%, 0%, 38.4%)
CIE-LABlab(31.48, 48.11, -51.89)
CIE-LCHlch(31.48, 70.77, 312.83°)
OKLaboklab(43.08% 0.096 -0.1478)
OKLCHoklch(43.08% 0.176 303)
XYZxyz(12.2792, 6.8569, 32.5684)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A9D #629D2A
analogous
#2C2A9D #652A9D #9D2A9C
triadic
#652A9D #9D652A #2A9D65
tetradic
#652A9D #9D2C2A #629D2A #2A9C9D
square
#652A9D #9D2C2A #629D2A #2A9C9D
split-complementary
#652A9D #9C9D2A #2A9D2C
monochromatic
#27103C #461D6D #652A9D #843ACA #A26AD7

Accessibility & contrast

On white

8.86
#652A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#652A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A9D
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A9D#FFFFFF#000000##FFFFFF
##652A9D1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#5A4661
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652a9d;
/* rgb */ color: rgb(101, 42, 157);
/* oklch */ color: oklch(43.1% 0.176 303.0);
Tailwind
colors: {
  custom: {
    50: '#9669bb',
    500: '#652a9d',
    950: '#000000',
  },
}
SCSS
$custom: #652a9d;
$custom-light: #9669bb;
$custom-dark: #000000;
JSON
{
  "hex": "#652a9d",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 270.783,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43077,
    "c": 0.17624,
    "h": 303
  },
  "luminance": 0.06857
}

Semantic roles & 50–950 ramp

primary
#652A9D
secondary
#90BE65
accent
#E14792
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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