#652D84#652D84

#652D84 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.145 H 311.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#652D84
RGBrgb(101, 45, 132)
HSLhsl(279, 49%, 35%)
HSVhsv(279, 66%, 52%)
CMYKcmyk(23.5%, 65.9%, 0%, 48.2%)
CIE-LABlab(30.18, 40.62, -38.61)
CIE-LCHlch(30.18, 56.04, 316.46°)
OKLaboklab(41.57% 0.0957 -0.1088)
OKLCHoklch(41.57% 0.145 311.3)
XYZxyz(10.4693, 6.3097, 22.4917)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D84 #4C842D
analogous
#3A2D84 #652D84 #842D78
triadic
#652D84 #84652D #2D8465
tetradic
#652D84 #843A2D #4C842D #2D7884
square
#652D84 #843A2D #4C842D #2D7884
split-complementary
#652D84 #78842D #2D843A
monochromatic
#1F0E29 #421D56 #652D84 #883DB2 #A562C9

Accessibility & contrast

On white

9.28
#652D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#652D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D84
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D84#FFFFFF#000000##FFFFFF
##652D841.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014487
Deuteranopia (green-blind)
#244882
Tritanopia (blue-blind)
#613E54
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652d84;
/* rgb */ color: rgb(101, 45, 132);
/* oklch */ color: oklch(41.6% 0.145 311.3);
Tailwind
colors: {
  custom: {
    50: '#946aa8',
    500: '#652d84',
    950: '#000000',
  },
}
SCSS
$custom: #652d84;
$custom-light: #946aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#652d84",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 278.621,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.14486,
    "h": 311.3
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#652D84
secondary
#7AB05D
accent
#D94F80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652D84

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

Preview Lab → · Contrast checker → · Palette generator →

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