#652F84#652F84

#652F84 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.8% C 0.142 H 311.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#652F84
RGBrgb(101, 47, 132)
HSLhsl(278, 47%, 35%)
HSVhsv(278, 64%, 52%)
CMYKcmyk(23.5%, 64.4%, 0%, 48.2%)
CIE-LABlab(30.56, 39.59, -38.00)
CIE-LCHlch(30.56, 54.87, 316.17°)
OKLaboklab(41.85% 0.0931 -0.107)
OKLCHoklch(41.85% 0.142 311)
XYZxyz(10.5474, 6.4659, 22.5177)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F84 #4E842F
analogous
#3B2F84 #652F84 #842F78
triadic
#652F84 #84652F #2F8465
tetradic
#652F84 #843B2F #4E842F #2F7884
square
#652F84 #843B2F #4E842F #2F7884
split-complementary
#652F84 #78842F #2F843B
monochromatic
#200F2A #421F57 #652F84 #883FB1 #A465C8

Accessibility & contrast

On white

9.16
#652F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#652F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F84
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F84#FFFFFF#000000##FFFFFF
##652F841.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084587
Deuteranopia (green-blind)
#264982
Tritanopia (blue-blind)
#613F55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652f84;
/* rgb */ color: rgb(101, 47, 132);
/* oklch */ color: oklch(41.8% 0.142 311.0);
Tailwind
colors: {
  custom: {
    50: '#946ba8',
    500: '#652f84',
    950: '#000000',
  },
}
SCSS
$custom: #652f84;
$custom-light: #946ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#652f84",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 278.118,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41845,
    "c": 0.14185,
    "h": 311
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#652F84
secondary
#7DAF60
accent
#D75182
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652F84

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

Preview Lab → · Contrast checker → · Palette generator →

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