#652C87#652C87

#652C87 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.150 H 310.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#652C87
RGBrgb(101, 44, 135)
HSLhsl(278, 51%, 35%)
HSVhsv(278, 67%, 53%)
CMYKcmyk(25.2%, 67.4%, 0%, 47.1%)
CIE-LABlab(30.20, 41.84, -40.44)
CIE-LCHlch(30.20, 58.19, 315.97°)
OKLaboklab(41.65% 0.0967 -0.1142)
OKLCHoklch(41.65% 0.15 310.3)
XYZxyz(10.6398, 6.3176, 23.5759)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C87 #4E872C
analogous
#372C87 #652C87 #872C7C
triadic
#652C87 #87652C #2C8765
tetradic
#652C87 #87372C #4E872C #2C7C87
square
#652C87 #87372C #4E872C #2C7C87
split-complementary
#652C87 #7C872C #2C8737
monochromatic
#200E2B #421D59 #652C87 #883BB5 #A462CC

Accessibility & contrast

On white

9.28
#652C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#652C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C87
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C87#FFFFFF#000000##FFFFFF
##652C871.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#204885
Tritanopia (blue-blind)
#603F55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652c87;
/* rgb */ color: rgb(101, 44, 135);
/* oklch */ color: oklch(41.6% 0.150 310.3);
Tailwind
colors: {
  custom: {
    50: '#9469aa',
    500: '#652c87',
    950: '#000000',
  },
}
SCSS
$custom: #652c87;
$custom-light: #9469aa;
$custom-dark: #000000;
JSON
{
  "hex": "#652c87",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 277.582,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.14964,
    "h": 310.3
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#652C87
secondary
#7DB25D
accent
#DA4D82
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652C87

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

Preview Lab → · Contrast checker → · Palette generator →

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