#652B86#652B86

#652B86 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.150 H 310.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#652B86
RGBrgb(101, 43, 134)
HSLhsl(278, 51%, 35%)
HSVhsv(278, 68%, 53%)
CMYKcmyk(24.6%, 67.9%, 0%, 47.5%)
CIE-LABlab(29.95, 42.10, -40.22)
CIE-LCHlch(29.95, 58.23, 316.31°)
OKLaboklab(41.45% 0.098 -0.1135)
OKLCHoklch(41.45% 0.15 310.8)
XYZxyz(10.5330, 6.2159, 23.1946)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B86 #4C862B
analogous
#382B86 #652B86 #862B79
triadic
#652B86 #86652B #2B8665
tetradic
#652B86 #86382B #4C862B #2B7986
square
#652B86 #86382B #4C862B #2B7986
split-complementary
#652B86 #79862B #2B8638
monochromatic
#1F0D29 #421C58 #652B86 #883AB4 #A560CC

Accessibility & contrast

On white

9.36
#652B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#652B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652B86
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B86#FFFFFF#000000##FFFFFF
##652B861.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#204884
Tritanopia (blue-blind)
#613E55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652b86;
/* rgb */ color: rgb(101, 43, 134);
/* oklch */ color: oklch(41.4% 0.150 310.8);
Tailwind
colors: {
  custom: {
    50: '#9469aa',
    500: '#652b86',
    950: '#000000',
  },
}
SCSS
$custom: #652b86;
$custom-light: #9469aa;
$custom-dark: #000000;
JSON
{
  "hex": "#652b86",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 278.242,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41449,
    "c": 0.14997,
    "h": 310.8
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#652B86
secondary
#7AB25B
accent
#DB4D80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #652B86

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

Preview Lab → · Contrast checker → · Palette generator →

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