#652D86#652D86

#652D86 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.147 H 310.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#652D86
RGBrgb(101, 45, 134)
HSLhsl(278, 50%, 35%)
HSVhsv(278, 66%, 53%)
CMYKcmyk(24.6%, 66.4%, 0%, 47.5%)
CIE-LABlab(30.32, 41.10, -39.64)
CIE-LCHlch(30.32, 57.09, 316.04°)
OKLaboklab(41.71% 0.0956 -0.1118)
OKLCHoklch(41.71% 0.147 310.5)
XYZxyz(10.6075, 6.3649, 23.2194)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D86 #4E862D
analogous
#392D86 #652D86 #862D7A
triadic
#652D86 #86652D #2D8665
tetradic
#652D86 #86392D #4E862D #2D7A86
square
#652D86 #86392D #4E862D #2D7A86
split-complementary
#652D86 #7A862D #2D8639
monochromatic
#200E2A #421E58 #652D86 #883CB4 #A463CB

Accessibility & contrast

On white

9.24
#652D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652D86
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D86#FFFFFF#000000##FFFFFF
##652D861.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#224884
Tritanopia (blue-blind)
#613F55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652d86;
/* rgb */ color: rgb(101, 45, 134);
/* oklch */ color: oklch(41.7% 0.147 310.5);
Tailwind
colors: {
  custom: {
    50: '#946aaa',
    500: '#652d86',
    950: '#000000',
  },
}
SCSS
$custom: #652d86;
$custom-light: #946aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#652d86",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 277.753,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41711,
    "c": 0.14707,
    "h": 310.5
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#652D86
secondary
#7DB15E
accent
#D94F82
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652D86

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

Preview Lab → · Contrast checker → · Palette generator →

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