#652D8F#652D8F

#652D8F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.157 H 307.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#652D8F
RGBrgb(101, 45, 143)
HSLhsl(274, 52%, 37%)
HSVhsv(274, 69%, 56%)
CMYKcmyk(29.4%, 68.5%, 0%, 43.9%)
CIE-LABlab(30.94, 43.25, -44.20)
CIE-LCHlch(30.94, 61.84, 314.38°)
OKLaboklab(42.36% 0.0948 -0.1252)
OKLCHoklch(42.36% 0.157 307.1)
XYZxyz(11.2621, 6.6268, 26.6671)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D8F #578F2D
analogous
#342D8F #652D8F #8F2D88
triadic
#652D8F #8F652D #2D8F65
tetradic
#652D8F #8F342D #578F2D #2D888F
square
#652D8F #8F342D #578F2D #2D888F
split-complementary
#652D8F #888F2D #2D8F34
monochromatic
#231032 #441E60 #652D8F #863CBE #A367CF

Accessibility & contrast

On white

9.03
#652D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#652D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D8F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D8F#FFFFFF#000000##FFFFFF
##652D8F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#16498D
Tritanopia (blue-blind)
#5E425A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652d8f;
/* rgb */ color: rgb(101, 45, 143);
/* oklch */ color: oklch(42.4% 0.157 307.1);
Tailwind
colors: {
  custom: {
    50: '#956ab0',
    500: '#652d8f',
    950: '#000000',
  },
}
SCSS
$custom: #652d8f;
$custom-light: #956ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#652d8f",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 274.286,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42362,
    "c": 0.15706,
    "h": 307.1
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#652D8F
secondary
#86B662
accent
#DC4C8A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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