#652588#652588

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

Color values

HEX#652588
RGBrgb(101, 37, 136)
HSLhsl(279, 57%, 34%)
HSVhsv(279, 73%, 53%)
CMYKcmyk(25.7%, 72.8%, 0%, 46.7%)
CIE-LABlab(29.08, 45.40, -42.87)
CIE-LCHlch(29.08, 62.45, 316.64°)
OKLaboklab(40.87% 0.1047 -0.1213)
OKLCHoklch(40.87% 0.16 310.8)
XYZxyz(10.4715, 5.8677, 23.8687)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652588 #488825
analogous
#342588 #652588 #88257A
triadic
#652588 #886525 #258865
tetradic
#652588 #883425 #488825 #257A88
square
#652588 #883425 #488825 #257A88
split-complementary
#652588 #7A8825 #258834
monochromatic
#1E0B28 #411858 #652588 #8932B8 #A656D1

Accessibility & contrast

On white

9.66
#652588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652588
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652588#FFFFFF#000000##FFFFFF
##6525881.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#154686
Tritanopia (blue-blind)
#603B54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652588;
/* rgb */ color: rgb(101, 37, 136);
/* oklch */ color: oklch(40.9% 0.160 310.8);
Tailwind
colors: {
  custom: {
    50: '#9566ab',
    500: '#652588',
    950: '#000000',
  },
}
SCSS
$custom: #652588;
$custom-light: #9566ab;
$custom-dark: #000000;
JSON
{
  "hex": "#652588",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 278.788,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.16023,
    "h": 310.8
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#652588
secondary
#76B653
accent
#E0477D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652588

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

Preview Lab → · Contrast checker → · Palette generator →

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