#652687#652687

#652687 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.158 H 311.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#652687
RGBrgb(101, 38, 135)
HSLhsl(279, 56%, 34%)
HSVhsv(279, 72%, 53%)
CMYKcmyk(25.2%, 71.9%, 0%, 47.1%)
CIE-LABlab(29.16, 44.72, -42.11)
CIE-LCHlch(29.16, 61.43, 316.72°)
OKLaboklab(40.91% 0.1038 -0.119)
OKLCHoklch(40.91% 0.158 311.1)
XYZxyz(10.4323, 5.9024, 23.5067)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652687 #488726
analogous
#352687 #652687 #872679
triadic
#652687 #876526 #268765
tetradic
#652687 #873526 #488726 #267987
square
#652687 #873526 #488726 #267987
split-complementary
#652687 #798726 #268735
monochromatic
#1E0B27 #411957 #652687 #8933B7 #A658D0

Accessibility & contrast

On white

9.63
#652687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#652687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652687
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652687#FFFFFF#000000##FFFFFF
##6526871.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#184685
Tritanopia (blue-blind)
#613B54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652687;
/* rgb */ color: rgb(101, 38, 135);
/* oklch */ color: oklch(40.9% 0.158 311.1);
Tailwind
colors: {
  custom: {
    50: '#9466ab',
    500: '#652687',
    950: '#000000',
  },
}
SCSS
$custom: #652687;
$custom-light: #9466ab;
$custom-dark: #000000;
JSON
{
  "hex": "#652687",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 278.969,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40908,
    "c": 0.15789,
    "h": 311.1
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#652687
secondary
#76B554
accent
#DF487D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652687

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

Preview Lab → · Contrast checker → · Palette generator →

#652687 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva