#652F8D#652F8D

#652F8D is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.152 H 307.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#652F8D
RGBrgb(101, 47, 141)
HSLhsl(274, 50%, 37%)
HSVhsv(274, 67%, 55%)
CMYKcmyk(28.4%, 66.7%, 0%, 44.7%)
CIE-LABlab(31.17, 41.75, -42.60)
CIE-LCHlch(31.17, 59.65, 314.42°)
OKLaboklab(42.48% 0.0926 -0.1205)
OKLCHoklch(42.48% 0.152 307.5)
XYZxyz(11.1901, 6.7230, 25.9023)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F8D #578D2F
analogous
#362F8D #652F8D #8D2F86
triadic
#652F8D #8D652F #2F8D65
tetradic
#652F8D #8D362F #578D2F #2F868D
square
#652F8D #8D362F #578D2F #2F868D
split-complementary
#652F8D #868D2F #2F8D36
monochromatic
#231031 #44205F #652F8D #863EBB #A369CD

Accessibility & contrast

On white

8.96
#652F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#652F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F8D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F8D#FFFFFF#000000##FFFFFF
##652F8D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#5F435A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652f8d;
/* rgb */ color: rgb(101, 47, 141);
/* oklch */ color: oklch(42.5% 0.152 307.5);
Tailwind
colors: {
  custom: {
    50: '#946baf',
    500: '#652f8d',
    950: '#000000',
  },
}
SCSS
$custom: #652f8d;
$custom-light: #946baf;
$custom-dark: #000000;
JSON
{
  "hex": "#652f8d",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 274.468,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42479,
    "c": 0.152,
    "h": 307.5
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#652F8D
secondary
#86B464
accent
#DA4E8A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #652F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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