#652D87#652D87

#652D87 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.148 H 310.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#652D87
RGBrgb(101, 45, 135)
HSLhsl(277, 50%, 35%)
HSVhsv(277, 67%, 53%)
CMYKcmyk(25.2%, 66.7%, 0%, 47.1%)
CIE-LABlab(30.38, 41.33, -40.15)
CIE-LCHlch(30.38, 57.62, 315.83°)
OKLaboklab(41.78% 0.0955 -0.1133)
OKLCHoklch(41.78% 0.148 310.1)
XYZxyz(10.6775, 6.3930, 23.5885)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D87 #4F872D
analogous
#382D87 #652D87 #872D7C
triadic
#652D87 #87652D #2D8765
tetradic
#652D87 #87382D #4F872D #2D7C87
square
#652D87 #87382D #4F872D #2D7C87
split-complementary
#652D87 #7C872D #2D8738
monochromatic
#200E2B #431E59 #652D87 #873CB5 #A463CB

Accessibility & contrast

On white

9.22
#652D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#652D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D87
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D87#FFFFFF#000000##FFFFFF
##652D871.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#214885
Tritanopia (blue-blind)
#603F56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652d87;
/* rgb */ color: rgb(101, 45, 135);
/* oklch */ color: oklch(41.8% 0.148 310.1);
Tailwind
colors: {
  custom: {
    50: '#946aaa',
    500: '#652d87',
    950: '#000000',
  },
}
SCSS
$custom: #652d87;
$custom-light: #946aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#652d87",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 277.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41782,
    "c": 0.14819,
    "h": 310.1
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#652D87
secondary
#7EB25E
accent
#DA4E83
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652D87

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

Preview Lab → · Contrast checker → · Palette generator →

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