#652B87#652B87

#652B87 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.151 H 310.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#652B87
RGBrgb(101, 43, 135)
HSLhsl(278, 52%, 35%)
HSVhsv(278, 68%, 53%)
CMYKcmyk(25.2%, 68.1%, 0%, 47.1%)
CIE-LABlab(30.02, 42.33, -40.73)
CIE-LCHlch(30.02, 58.75, 316.10°)
OKLaboklab(41.52% 0.0979 -0.115)
OKLCHoklch(41.52% 0.151 310.4)
XYZxyz(10.6030, 6.2440, 23.5636)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B87 #4D872B
analogous
#372B87 #652B87 #872B7B
triadic
#652B87 #87652B #2B8765
tetradic
#652B87 #87372B #4D872B #2B7B87
square
#652B87 #87372B #4D872B #2B7B87
split-complementary
#652B87 #7B872B #2B8737
monochromatic
#200D2A #421C59 #652B87 #883AB5 #A460CC

Accessibility & contrast

On white

9.34
#652B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#652B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652B87
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B87#FFFFFF#000000##FFFFFF
##652B871.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#603E55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652b87;
/* rgb */ color: rgb(101, 43, 135);
/* oklch */ color: oklch(41.5% 0.151 310.4);
Tailwind
colors: {
  custom: {
    50: '#9469aa',
    500: '#652b87',
    950: '#000000',
  },
}
SCSS
$custom: #652b87;
$custom-light: #9469aa;
$custom-dark: #000000;
JSON
{
  "hex": "#652b87",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 277.826,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4152,
    "c": 0.15106,
    "h": 310.4
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#652B87
secondary
#7CB25B
accent
#DB4D81
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #652B87

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

Preview Lab → · Contrast checker → · Palette generator →

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