#652D89#652D89

#652D89 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.150 H 309.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#652D89
RGBrgb(101, 45, 137)
HSLhsl(277, 51%, 36%)
HSVhsv(277, 67%, 54%)
CMYKcmyk(26.3%, 67.2%, 0%, 46.3%)
CIE-LABlab(30.52, 41.81, -41.17)
CIE-LCHlch(30.52, 58.67, 315.44°)
OKLaboklab(41.92% 0.0954 -0.1163)
OKLCHoklch(41.92% 0.15 309.3)
XYZxyz(10.8197, 6.4498, 24.3370)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D89 #51892D
analogous
#372D89 #652D89 #892D7F
triadic
#652D89 #89652D #2D8965
tetradic
#652D89 #89372D #51892D #2D7F89
square
#652D89 #89372D #51892D #2D7F89
split-complementary
#652D89 #7F892D #2D8937
monochromatic
#210F2D #431E5B #652D89 #873CB7 #A364CC

Accessibility & contrast

On white

9.17
#652D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652D89
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D89#FFFFFF#000000##FFFFFF
##652D891.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#1F4987
Tritanopia (blue-blind)
#604057
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652d89;
/* rgb */ color: rgb(101, 45, 137);
/* oklch */ color: oklch(41.9% 0.150 309.3);
Tailwind
colors: {
  custom: {
    50: '#946aac',
    500: '#652d89',
    950: '#000000',
  },
}
SCSS
$custom: #652d89;
$custom-light: #946aac;
$custom-dark: #000000;
JSON
{
  "hex": "#652d89",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 276.522,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41924,
    "c": 0.1504,
    "h": 309.3
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#652D89
secondary
#80B35F
accent
#DA4E85
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652D89

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

Preview Lab → · Contrast checker → · Palette generator →

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