#652785#652785

#652785 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.154 H 311.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#652785
RGBrgb(101, 39, 133)
HSLhsl(280, 55%, 34%)
HSVhsv(280, 71%, 52%)
CMYKcmyk(24.1%, 70.7%, 0%, 47.8%)
CIE-LABlab(29.19, 43.80, -40.82)
CIE-LCHlch(29.19, 59.87, 317.01°)
OKLaboklab(40.88% 0.1028 -0.1153)
OKLCHoklch(40.88% 0.154 311.7)
XYZxyz(10.3252, 5.9115, 22.7829)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652785 #478527
analogous
#362785 #652785 #852776
triadic
#652785 #856527 #278565
tetradic
#652785 #853627 #478527 #277685
square
#652785 #853627 #478527 #277685
split-complementary
#652785 #768527 #278536
monochromatic
#1D0B26 #411956 #652785 #8935B4 #A658CE

Accessibility & contrast

On white

9.62
#652785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#652785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652785
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652785#FFFFFF#000000##FFFFFF
##6527851.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#1C4683
Tritanopia (blue-blind)
#613B53
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652785;
/* rgb */ color: rgb(101, 39, 133);
/* oklch */ color: oklch(40.9% 0.154 311.7);
Tailwind
colors: {
  custom: {
    50: '#9466a9',
    500: '#652785',
    950: '#000000',
  },
}
SCSS
$custom: #652785;
$custom-light: #9466a9;
$custom-dark: #000000;
JSON
{
  "hex": "#652785",
  "rgb": {
    "r": 101,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 279.574,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40879,
    "c": 0.15447,
    "h": 311.7
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#652785
secondary
#75B355
accent
#DE4A7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652785

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

Preview Lab → · Contrast checker → · Palette generator →

#652785 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva