#652F89#652F89

#652F89 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.147 H 309.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#652F89
RGBrgb(101, 47, 137)
HSLhsl(276, 49%, 36%)
HSVhsv(276, 66%, 54%)
CMYKcmyk(26.3%, 65.7%, 0%, 46.3%)
CIE-LABlab(30.89, 40.78, -40.57)
CIE-LCHlch(30.89, 57.52, 315.15°)
OKLaboklab(42.19% 0.0929 -0.1146)
OKLCHoklch(42.19% 0.147 309)
XYZxyz(10.8978, 6.6061, 24.3631)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F89 #53892F
analogous
#382F89 #652F89 #892F80
triadic
#652F89 #89652F #2F8965
tetradic
#652F89 #89382F #53892F #2F8089
square
#652F89 #89382F #53892F #2F8089
split-complementary
#652F89 #80892F #2F8938
monochromatic
#22102E #431F5B #652F89 #873FB7 #A367CB

Accessibility & contrast

On white

9.05
#652F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#652F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F89
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F89#FFFFFF#000000##FFFFFF
##652F891.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#214987
Tritanopia (blue-blind)
#604157
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652f89;
/* rgb */ color: rgb(101, 47, 137);
/* oklch */ color: oklch(42.2% 0.147 309.0);
Tailwind
colors: {
  custom: {
    50: '#946bac',
    500: '#652f89',
    950: '#000000',
  },
}
SCSS
$custom: #652f89;
$custom-light: #946bac;
$custom-dark: #000000;
JSON
{
  "hex": "#652f89",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 276,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42193,
    "c": 0.14749,
    "h": 309
  },
  "luminance": 0.06606
}

Semantic roles & 50–950 ramp

primary
#652F89
secondary
#82B262
accent
#D84F86
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652F89

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

Preview Lab → · Contrast checker → · Palette generator →

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