#652F8B#652F8B

#652F8B is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.150 H 308.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#652F8B
RGBrgb(101, 47, 139)
HSLhsl(275, 49%, 36%)
HSVhsv(275, 66%, 55%)
CMYKcmyk(27.3%, 66.2%, 0%, 45.5%)
CIE-LABlab(31.03, 41.26, -41.59)
CIE-LCHlch(31.03, 58.59, 314.78°)
OKLaboklab(42.34% 0.0928 -0.1175)
OKLCHoklch(42.34% 0.15 308.3)
XYZxyz(11.0426, 6.6640, 25.1256)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F8B #558B2F
analogous
#372F8B #652F8B #8B2F83
triadic
#652F8B #8B652F #2F8B65
tetradic
#652F8B #8B372F #558B2F #2F838B
square
#652F8B #8B372F #558B2F #2F838B
split-complementary
#652F8B #838B2F #2F8B37
monochromatic
#231030 #44205D #652F8B #863EB9 #A368CC

Accessibility & contrast

On white

9.00
#652F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652F8B
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F8B#FFFFFF#000000##FFFFFF
##652F8B1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#5F4258
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652f8b;
/* rgb */ color: rgb(101, 47, 139);
/* oklch */ color: oklch(42.3% 0.150 308.3);
Tailwind
colors: {
  custom: {
    50: '#946bad',
    500: '#652f8b',
    950: '#000000',
  },
}
SCSS
$custom: #652f8b;
$custom-light: #946bad;
$custom-dark: #000000;
JSON
{
  "hex": "#652f8b",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 275.217,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.14974,
    "h": 308.3
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#652F8B
secondary
#84B363
accent
#D94F88
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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