#652587#652587

#652587 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.159 H 311.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#652587
RGBrgb(101, 37, 135)
HSLhsl(279, 57%, 34%)
HSVhsv(279, 73%, 53%)
CMYKcmyk(25.2%, 72.6%, 0%, 47.1%)
CIE-LABlab(29.00, 45.17, -42.37)
CIE-LCHlch(29.00, 61.93, 316.83°)
OKLaboklab(40.79% 0.1049 -0.1198)
OKLCHoklch(40.79% 0.159 311.2)
XYZxyz(10.4007, 5.8394, 23.4962)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652587 #478725
analogous
#342587 #652587 #872578
triadic
#652587 #876525 #258765
tetradic
#652587 #873425 #478725 #257887
square
#652587 #873425 #478725 #257887
split-complementary
#652587 #788725 #258734
monochromatic
#1D0B27 #411857 #652587 #8932B7 #A656D1

Accessibility & contrast

On white

9.69
#652587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#652587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652587
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652587#FFFFFF#000000##FFFFFF
##6525871.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#174685
Tritanopia (blue-blind)
#613A53
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #652587;
/* rgb */ color: rgb(101, 37, 135);
/* oklch */ color: oklch(40.8% 0.159 311.2);
Tailwind
colors: {
  custom: {
    50: '#9566ab',
    500: '#652587',
    950: '#000000',
  },
}
SCSS
$custom: #652587;
$custom-light: #9566ab;
$custom-dark: #000000;
JSON
{
  "hex": "#652587",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 279.184,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.15919,
    "h": 311.2
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#652587
secondary
#75B553
accent
#E0487D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652587

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

Preview Lab → · Contrast checker → · Palette generator →

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