#652F8F#652F8F

#652F8F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.154 H 306.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#652F8F
RGBrgb(101, 47, 143)
HSLhsl(274, 51%, 37%)
HSVhsv(274, 67%, 56%)
CMYKcmyk(29.4%, 67.1%, 0%, 43.9%)
CIE-LABlab(31.31, 42.24, -43.61)
CIE-LCHlch(31.31, 60.71, 314.08°)
OKLaboklab(42.63% 0.0925 -0.1235)
OKLCHoklch(42.63% 0.154 306.8)
XYZxyz(11.3402, 6.7830, 26.6931)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F8F #598F2F
analogous
#352F8F #652F8F #8F2F89
triadic
#652F8F #8F652F #2F8F65
tetradic
#652F8F #8F352F #598F2F #2F898F
square
#652F8F #8F352F #598F2F #2F898F
split-complementary
#652F8F #898F2F #2F8F35
monochromatic
#241133 #442061 #652F8F #863EBD #A26ACE

Accessibility & contrast

On white

8.91
#652F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#652F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F8F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F8F#FFFFFF#000000##FFFFFF
##652F8F1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#5E435B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652f8f;
/* rgb */ color: rgb(101, 47, 143);
/* oklch */ color: oklch(42.6% 0.154 306.8);
Tailwind
colors: {
  custom: {
    50: '#946bb0',
    500: '#652f8f',
    950: '#000000',
  },
}
SCSS
$custom: #652f8f;
$custom-light: #946bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#652f8f",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 273.75,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42625,
    "c": 0.15426,
    "h": 306.8
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#652F8F
secondary
#88B565
accent
#DA4E8B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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