#652D9C#652D9C

#652D9C is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.171 H 302.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#652D9C
RGBrgb(101, 45, 156)
HSLhsl(270, 55%, 39%)
HSVhsv(270, 71%, 61%)
CMYKcmyk(35.3%, 71.2%, 0%, 38.8%)
CIE-LABlab(31.91, 46.44, -50.59)
CIE-LCHlch(31.91, 68.68, 312.55°)
OKLaboklab(43.36% 0.0931 -0.144)
OKLCHoklch(43.36% 0.171 302.9)
XYZxyz(12.3046, 7.0438, 32.1574)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D9C #649C2D
analogous
#2D2D9C #652D9C #9C2D9C
triadic
#652D9C #9C652D #2D9C65
tetradic
#652D9C #9C2D2D #649C2D #2D9C9C
square
#652D9C #9C2D2D #649C2D #2D9C9C
split-complementary
#652D9C #9C9C2D #2D9C2D
monochromatic
#27123D #461F6D #652D9C #843FC8 #A26ED5

Accessibility & contrast

On white

8.72
#652D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#652D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D9C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D9C#FFFFFF#000000##FFFFFF
##652D9C1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#5A4761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652d9c;
/* rgb */ color: rgb(101, 45, 156);
/* oklch */ color: oklch(43.4% 0.171 302.9);
Tailwind
colors: {
  custom: {
    50: '#966bba',
    500: '#652d9c',
    950: '#000000',
  },
}
SCSS
$custom: #652d9c;
$custom-light: #966bba;
$custom-dark: #000000;
JSON
{
  "hex": "#652d9c",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 270.27,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43356,
    "c": 0.17146,
    "h": 302.9
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#652D9C
secondary
#92BC68
accent
#DF4993
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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