#652E9B#652E9B

#652E9B is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.169 H 303.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#652E9B
RGBrgb(101, 46, 155)
HSLhsl(270, 54%, 39%)
HSVhsv(270, 70%, 61%)
CMYKcmyk(34.8%, 70.3%, 0%, 39.2%)
CIE-LABlab(32.00, 45.71, -49.82)
CIE-LCHlch(32.00, 67.61, 312.53°)
OKLaboklab(43.4% 0.0922 -0.1417)
OKLCHoklch(43.4% 0.169 303)
XYZxyz(12.2588, 7.0872, 31.7261)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E9B #649B2E
analogous
#2E2E9B #652E9B #9B2E9B
triadic
#652E9B #9B652E #2E9B65
tetradic
#652E9B #9B2E2E #649B2E #2E9B9B
square
#652E9B #9B2E2E #649B2E #2E9B9B
split-complementary
#652E9B #9B9B2E #2E9B2E
monochromatic
#27123D #46206C #652E9B #8440C6 #A26FD4

Accessibility & contrast

On white

8.69
#652E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#652E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652E9B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652E9B#FFFFFF#000000##FFFFFF
##652E9B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652e9b;
/* rgb */ color: rgb(101, 46, 155);
/* oklch */ color: oklch(43.4% 0.169 303.0);
Tailwind
colors: {
  custom: {
    50: '#966bb9',
    500: '#652e9b',
    950: '#000000',
  },
}
SCSS
$custom: #652e9b;
$custom-light: #966bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#652e9b",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 270.275,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43402,
    "c": 0.16907,
    "h": 303
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

primary
#652E9B
secondary
#92BC69
accent
#DE4A93
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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