#652D9F#652D9F

#652D9F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.175 H 302.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#652D9F
RGBrgb(101, 45, 159)
HSLhsl(269, 56%, 40%)
HSVhsv(269, 72%, 62%)
CMYKcmyk(36.5%, 71.7%, 0%, 37.6%)
CIE-LABlab(32.14, 47.19, -52.04)
CIE-LCHlch(32.14, 70.25, 312.21°)
OKLaboklab(43.59% 0.0926 -0.1482)
OKLCHoklch(43.59% 0.175 302)
XYZxyz(12.5617, 7.1466, 33.5118)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D9F #679F2D
analogous
#2D2E9F #652D9F #9E2D9F
triadic
#652D9F #9F652D #2D9F65
tetradic
#652D9F #9F2D2E #679F2D #2D9F9E
square
#652D9F #9F2D2E #679F2D #2D9F9E
split-complementary
#652D9F #9F9E2D #2E9F2D
monochromatic
#281240 #47206F #652D9F #8340C9 #A270D6

Accessibility & contrast

On white

8.64
#652D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#652D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D9F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D9F#FFFFFF#000000##FFFFFF
##652D9F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#594863
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #652d9f;
/* rgb */ color: rgb(101, 45, 159);
/* oklch */ color: oklch(43.6% 0.175 302.0);
Tailwind
colors: {
  custom: {
    50: '#966bbc',
    500: '#652d9f',
    950: '#000000',
  },
}
SCSS
$custom: #652d9f;
$custom-light: #966bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#652d9f",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 269.474,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.43594,
    "c": 0.17477,
    "h": 302
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#652D9F
secondary
#95BE6A
accent
#DF4995
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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